The value of sourceIndex

Applying eValid to AJAX applications that require advanced DOM-based methods.

The value of sourceIndex

Postby ittake » Mon Jul 11, 2011 4:37 pm

How can I save the value of sourceIndex once I've found it, so I can pass it on to another script?
ittake
 
Posts: 1
Joined: Mon Jul 11, 2011 4:34 pm

Re: The value of sourceIndex

Postby eValid » Tue Jul 12, 2011 9:45 am

ittake wrote:How can I save the value of sourceIndex once I've found it, so I can pass it on to another script?
eValid has a couple of resources that can help here.

(1) The eValid Reserved Variable $_SourceIndex is a parameter that is always available and always contains the value that sourceIndex has. So, that value is always present if you want it.

(2) There is a command in eValid called IndexSave (and its companion command IndexRead) that write (and read) the value of sourceIndex to a local memory value. There are corresponding commands for the current value of elementValue.

(3) Remember, the current value of both quantities are always available in the Reserved Variables $_SourceIndex and $_ElementValue.

eValid Support
eValid
 
Posts: 2396
Joined: Tue Jan 01, 2008 12:48 pm
Location: USA


Return to AJAX Applications & DOM Processing

Design Downloaded from free phpBB templates | free website templates | Free Web Buttons