Skip to Content
0
Former Member
Jun 15, 2009 at 07:26 AM

post values from child window to parent window

87 Views

HI,

I am trying to pass values from child window to parent window.But only one value is being passed , if i try to pass more than one its not working.I am writing the code like this in child window.

function SetParentWindowsHiddenFieldValue()

{

window.opener.document.getElementById("Custno").value =

document.getElementById("Custno").value;

window.opener.document.getElementById("custname").value =

document.getElementById("custname").value;

self.close();

return false;

}

thank you

ven