Can eValid wait for this kind of JavaScript call

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

Can eValid wait for this kind of JavaScript call

Postby AnnaKM » Thu Mar 26, 2020 10:04 am

Greetings.

How do I wait for a JavaScript do a "PostBack" call?

Any help would be appreciated.


Thanks
AnnaKM
 
Posts: 1
Joined: Thu Mar 26, 2020 10:01 am

Re: Can eValid wait for this kind of JavaScript call

Postby eValid » Fri Mar 27, 2020 9:15 am

AnnaKM wrote:Greetings.

How do I wait for a JavaScript do a "PostBack" call?

Any help would be appreciated.


Thanks


Thanks for posting AnnaKM.

That is a very detailed question, but we assume you know where that call originated in the DOM of the page in question, and we assume you know something about that DOM element.

Then you...

Get the sourceIndex of the DOM element, using the eValid DOM search commands:

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

or

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

Second, you find the specific property name in that element that you know (from you knowledge of the page) will take on a value that signals the completion of the doPostBack action.

Third, you set up a "DOM-based" WAIT loop using the available synchronization commands, summarized here:

http://e-valid.com/Products/Documentati ... n.dom.html


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