Hyperblaze
Lifer
I'm working with DOM here. I've assigned a select box with an id. I can easily do getElementById on it on the current page. My problem however is that I also have a function call creating a new php page using the function "window.open". In that new page I wish to modify the elementsfrom the parent page.
I have tried accessing it in different ways.
for example.
var test = parent.document.getElementById('selectbox');
I get as response.
Would anyone have any idea how to pass elements from the "parent" page to the "child" page?
I have tried accessing it in different ways.
for example.
var test = parent.document.getElementById('selectbox');
I get as response.
Would anyone have any idea how to pass elements from the "parent" page to the "child" page?