I use the simple html dom class and got it to work on the main pages and can view the information I want. However, when I try to use it on a page that reloads the div using ajax, I cannot make it “wait” before reading the page.
Basically I want it to load the page, and then wait 2 seconds before reading the contents of the page (so that the new div has time to load). Is this possible, or am I trying to use the class incorrectly? I manually enter the URL, so this is not a problem with the link.
Example page : - You can see the loading problem when navigating the pages.
Someone suggested a curl, and I tried this with the same results.
Thanks in advance.
source
share