Jump to content

DOM element state after XHR updates?


Recommended Posts

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.

Link to comment
Share on other sites

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.
Link to comment
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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...