Hello
I try to get info from a website which uses Javascript to show onclick the phonenumber of the items/companies.
Crawling that with PHP curl or xpath did not let me find a solution how to trigger this events and than keep on crawling.
Example:
<a onclick="show(2423,'../entries.php?eid=2423',1);
for info here the function too
function show(info_id,qpath,swimage){
expandit(info_id,0,swimage);
if(document.getElementById('load_'+info_id)) {
ajax_loadContent('cont_td_'+info_id,qpath);
}
}
Is this possible to do with PHP/Xpath/DOM or what do you recommend to do to achieve this? Any chance for "debugging" the code to see which url to call?
THanks for your concern And have really great FESTIVITIES