Forum Moderators: open
An html page, the parent, creates a child page into which is loaded a new url using window.open() from the parent page. I now need to getelementbyid() of an id from the child page into a variable in the parents js code. Something like:
parent
------
window.open(url,childwindow);
settimeout(wait for child to load fully);
childidvalue=childwindow.document.getelementbyid("idinchild").innerhtml;
alert (childidvalue);
Note that url must be same domain as parent page, security limitation.