passing Popup wondow values to parent window.
-
Hi I need to pass Popup window values to parent window. my code is : Response.Write("<script language='javascript'>{window.opener.document.getElementById('ctl00$ContentPlaceHolder1$txtRecipients').value += '" + MobileNos + "'}</script>"); The Above code is working fine with IE.. But it is not working with Firefox Browser ? i tried with FireFox 2.0 & 3.0 version..
murali krishna
-
Hi I need to pass Popup window values to parent window. my code is : Response.Write("<script language='javascript'>{window.opener.document.getElementById('ctl00$ContentPlaceHolder1$txtRecipients').value += '" + MobileNos + "'}</script>"); The Above code is working fine with IE.. But it is not working with Firefox Browser ? i tried with FireFox 2.0 & 3.0 version..
murali krishna
for firefox, use the both NAME and ID property for control , keep both same IE run with only ID.
window.opener.document.myForm.myField.value = myValue
hope it helps regards koolprasad2003 :)
If the message is useful for U then please Rate This message... Be a good listener...Because Opprtunity knoughts softly...N-Joy