T
TugaMadrid
Hello!
I have a window to wich I want to send a value to its form.
The new pop-up window contains a hidden frame (Table)...and thats from
this hidden table that I want to send some value to the original
window.
function go(of){
//alert(of);
alert(window.opener); this gives me undefined
alert(parent.location); this gives me the URL of the pop up window
where the hidden iframe is contained(not the original one)
window.opener.document.form.field.value="of";
window.opener.close()
}
Question:Why does the window.opener is undefined?Where does the
informacion get lost?
Thanks
I have a window to wich I want to send a value to its form.
From this window I open a popup window with window.open(...).
The new pop-up window contains a hidden frame (Table)...and thats from
this hidden table that I want to send some value to the original
window.
function go(of){
//alert(of);
alert(window.opener); this gives me undefined
alert(parent.location); this gives me the URL of the pop up window
where the hidden iframe is contained(not the original one)
window.opener.document.form.field.value="of";
window.opener.close()
}
Question:Why does the window.opener is undefined?Where does the
informacion get lost?
Thanks