P
Pat
Here is how I have been submiting a form to a popup window, this works
fine for all netscape versions and all IE versions previous to
6.0.2800.1106. Does anyone know a different way I can submit a form to
a popup window?
------------------------------------------------
<script language="JavaScript">
function new_window()
{
// Reference the form in this page
var f = document.forms.myformname;
// Open popup window and submit form
var popup_win = window.open('',f.target,'top=150,left=272,width=450,height=270');
popup_win.focus();
}
</script>
<form name="myformname" method="post" target="popup_win"
action="./target.cgi" onsubmit="new_window()">
<input type="submit" value="Submit">
</form>
------------------------------------------------
fine for all netscape versions and all IE versions previous to
6.0.2800.1106. Does anyone know a different way I can submit a form to
a popup window?
------------------------------------------------
<script language="JavaScript">
function new_window()
{
// Reference the form in this page
var f = document.forms.myformname;
// Open popup window and submit form
var popup_win = window.open('',f.target,'top=150,left=272,width=450,height=270');
popup_win.focus();
}
</script>
<form name="myformname" method="post" target="popup_win"
action="./target.cgi" onsubmit="new_window()">
<input type="submit" value="Submit">
</form>
------------------------------------------------