adddeveloper
Programmer
I have a window that's opened via a hyperlink from a parent window.
If I try to close this "child" window with a simple self.close(), I get the prompt:
The web page you are viewing is trying to close the window
Here's my HEAD code:
<SCRIPT language="VBScript">
Sub Window_Onload
window.opener = "x"
End Sub
</SCRIPT>
In my BODY, I've got:
<INPUT type="button" value="Close Form"
onclick="self.close();" >
If I try to close this "child" window with a simple self.close(), I get the prompt:
The web page you are viewing is trying to close the window
Here's my HEAD code:
<SCRIPT language="VBScript">
Sub Window_Onload
window.opener = "x"
End Sub
</SCRIPT>
In my BODY, I've got:
<INPUT type="button" value="Close Form"
onclick="self.close();" >