Trying to pin down a constantly changing filename

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

Trying to pin down a constantly changing filename

Postby BeverlyL » Thu Apr 16, 2020 11:20 am

Greetings.

I hope you can help me out:

How do you handle the case when the name of a file keeps changing, but I still want to click on it?

Thanks
BeverlyL
 
Posts: 1
Joined: Thu Apr 16, 2020 11:18 am

Re: Trying to pin down a constantly changing filename

Postby eValid » Fri Apr 17, 2020 10:17 am

BeverlyL wrote:Greetings.

I hope you can help me out:

How do you handle the case when the name of a file keeps changing, but I still want to click on it?

Thanks


Thanks for posting your question BeverlyL.

This is fairly common, having the contents of SOME of the DOM updated.

However, the underlying function -- typically, a JavaScript that is triggered when you click on that element -- stays the same.

The command you probably want to use is IndexElementEvent, which will send an event to a particular event name (and value) provided you know the specific sourceIndex.

http://e-valid.com/Products/Documentati ... event.html

You reset the value of the internal variable sourceIndex using the search commands, such as:

http://e-valid.com/Products/Documentati ... ement.html

or use the companion command:

http://e-valid.com/Products/Documentati ... nt.ex.html

Good luck and let us know if you run into difficulties!


-- eValid Support
eValid
 
Posts: 2035
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