N
news.comcast.giganews.com
I have a web page that pops up a new window with a form in it, then when the
user clicks the submit button in the new window, it submits to the
originating window and the new window closes.
This works fine in IE 6, but fails in Netscape 7.
The code for opening the new window is:
win2 = window.open('advanced.html', '',
'toolbar=0,scrollbars=0,location=0,statusbar=0,menubar=0,resizable=1,width=4
00,height=430,left = 312,top = 159');
win2.opener.name = "opener";
The code in the new window for submitting the form is:
<form name="form1" method="post"
action="http://www.mywebsite.com/cgi-bin/search.pl" target="opener"
onsubmit="window.close()">
In Netscape, the new window closes, but the form is not submitted to the
original window.
Any suggestions on making this work in Netscape would be greatly
appreciated.
Thank You,
Corey Martin
user clicks the submit button in the new window, it submits to the
originating window and the new window closes.
This works fine in IE 6, but fails in Netscape 7.
The code for opening the new window is:
win2 = window.open('advanced.html', '',
'toolbar=0,scrollbars=0,location=0,statusbar=0,menubar=0,resizable=1,width=4
00,height=430,left = 312,top = 159');
win2.opener.name = "opener";
The code in the new window for submitting the form is:
<form name="form1" method="post"
action="http://www.mywebsite.com/cgi-bin/search.pl" target="opener"
onsubmit="window.close()">
In Netscape, the new window closes, but the form is not submitted to the
original window.
Any suggestions on making this work in Netscape would be greatly
appreciated.
Thank You,
Corey Martin