ok i have a pop up. and on clicking in the popup i have the following code.
if (!window.opener)
{
alert("Couldnt find window opener. Unable to append email");
}
so that means it found it but the minute. I try to do anything with the window.opener it errors.
like I tried all kinds of things just to change bg color.
put text in text box
opener.document.newticketform.opt_userphone.value = "test";
whatever i add that involves the window.opener halts the program at that line.
I don't get this at all?
if (!window.opener)
{
alert("Couldnt find window opener. Unable to append email");
}
so that means it found it but the minute. I try to do anything with the window.opener it errors.
like I tried all kinds of things just to change bg color.
put text in text box
opener.document.newticketform.opt_userphone.value = "test";
whatever i add that involves the window.opener halts the program at that line.
I don't get this at all?