Hello,
I have one child window. in child window i am selecting one radio button.
i want to return that selected value to parent window.
To open child window in parent window, i have written like this:
[CODE=javascript]window.open()[/CODE]
In child window to return a value i have written like this
child window:
[CODE=javascript]javascript function
{
window.opener.m ozillaval=addfo rm.selection.va lue;
//also like this
opener.document .viewform.sourc e=addform.selec tion.value
}
[/CODE]But in parent window when i am trying to use the value stored in mozillaval(vari able) i am not getting the value.
How can i get the child window value in parent window.
I have one child window. in child window i am selecting one radio button.
i want to return that selected value to parent window.
To open child window in parent window, i have written like this:
[CODE=javascript]window.open()[/CODE]
In child window to return a value i have written like this
child window:
[CODE=javascript]javascript function
{
window.opener.m ozillaval=addfo rm.selection.va lue;
//also like this
opener.document .viewform.sourc e=addform.selec tion.value
}
[/CODE]But in parent window when i am trying to use the value stored in mozillaval(vari able) i am not getting the value.
How can i get the child window value in parent window.
Comment