A DOM Sequence Built

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

A DOM Sequence Built

Postby uteam » Tue Dec 07, 2010 5:22 pm

Once I have a DOM sequence built is there some easy way to use it over and over again?
uteam
 
Posts: 2
Joined: Tue Dec 07, 2010 4:28 pm

Re: A DOM Sequence Built

Postby eValid » Sun Dec 12, 2010 12:08 pm

uteam wrote:Once I have a DOM sequence built is there some easy way to use it over and over again?

Easy enough: just put it in a separate file, after converting the key values into parameters, and then in your parent script you can CallScript myscript.evs "$MyParameter1=value1 ..." and pass the key variables over to it in the parameter strings.

We do this a lot in practice: we parameterize a key script passage and then replace repeated instances of it with the appropriate CallScript sequence.

The eValid Team
eValid
 
Posts: 2431
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