How to get content of a javascript/ajax -loaded div on a site?
问题 I have a PHP-script that loads page-content from another website by using CURL and simple_html_dom PHP library. This works great. If I echo out the HTML returned I can see the div-content there. However, if I try to select only that div with the simple_html_dom, the div always returned empty. At first I didn't know why. Now I know that it's because its content apparently is populated with javascript/ajax. How would I get the content of the site and then be able to select the div-content AFTER