Jump to content
Sign in to follow this  
Nikolay85

DOM element state after XHR updates?

Recommended Posts

Nikolay85

Hello!

I d like to make collection from site, but it updates only part of page with XHR, so i have problems how to check readystate and so on.

Primitive way d be to randomly use html check and compare few results on difference. Maybe there is better way? DOMContentLoaded? addEventListener? Some analog of mutationobserver? Or maybe XHR functions? Basically i need some proper way to check when element is loaded and when its loading.

Share this post


Link to post
Share on other sites
jdelaney

I'd just loop until the object is presented.  If it's something like table data, then loop for rows to display.

Edited by jdelaney

IEbyXPATH-Grab IE DOM objects by XPATH IEscriptRecord-Makings of an IE script recorder ExcelFromXML-Create Excel docs without excel installed GetAllWindowControls-Output all control data on a given window.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×