Posted By:
idris_yuce
Posted On:
Thursday, February 28, 2002 12:20 AM
if you have opened the second page which you want to pass variable from with window.open command,
then it is easy.
you can get the main page with the "opener" variable.
Below is an example function to pass a value from the opened page to main (opener)page.
function setOpenerValue(){
//value we will pass from opened page
var val = document.form.elementOpened.value;
opener.form.elementOpener.value=val;
}
you get the value form opened page and passed it to opener page.