Hi all,
I am using the following script to
1. open a new window (with all hidden values of the parent form) when the
user clicks the submit button,
2. the parent window should be closed at the same time.
It works fine in IE, but both the windows disappear in Netscape.
Thanks in advance,
Regards
kishore
----------------------------------------------------------------------------
-------
<script language="JavaScript">
function openwindow()
{
parent.window.close()
}
</script>
<form name="main" method="post" action="main.asp" target="_blank">
<-----all hidden fields approx. 40 values------------->
<input type="submit" name="submitbt" value="Submit"
onclick="openwindow()">
</form>
----------------------------------------------------------------------------
-------
____ • The WDVL Discussion List from WDVL.COM • ____
To Join wdvltalk, Send An Email To: mailto:[EMAIL PROTECTED]
Send Your Posts To: [EMAIL PROTECTED]
To set a personal password send an email to [EMAIL PROTECTED] with the words: "set
WDVLTALK pw=yourpassword" in the body of the email.
To change subscription settings to the wdvltalk digest version:
http://wdvl.internet.com/WDVL/Forum/#sub
________________ http://www.wdvl.com _______________________
You are currently subscribed to wdvltalk as: [EMAIL PROTECTED]
To unsubscribe send a blank email to [EMAIL PROTECTED]