0
I have a query in a popup that the result is returned in a gridview. In gridview I have a button where I call a javascript function that inserts the result by correlating the return of the query with the fields of the main page. I’m getting into the job, but when I get to the part that makes the relationship, the mistake arises:
window.opener.Document.frm is Undefined
The excerpt:
window.opener.document.frm.txtDS_PES.value = trim(pesnm);
In firebug I identified that from frm.txtDES_PES.value he from Undefined.
<form id="frm" runat="server">
Try to check if you can access opener with var opener = window.opener; if(opener) {//Test}
– RSinohara
That’s not the case. Because I can access another page, just not the objects.
– Germano Sampaio