Hi, I'm trying to make a form that when you click "submit", the original page goes somewhere, and it also creates a popup for the action URL.
Currently, I can get the popup portion, but the can't get the original window to redirect somewhere else.
this is what I have in the head.
And this is what I have in the body
Currently, I can get the popup portion, but the can't get the original window to redirect somewhere else.
this is what I have in the head.
Code:
<SCRIPT TYPE="text/javascript"> <!-- function popupform(myform, windowname) { if (! window.focus) return true; window.open('', windowname, 'height=200,width=400,scrollbars=no'); myform.target=windowname; return true; } //--> </SCRIPT>
Code:
<form id="update" action="update.php" method="POST" name="update" onSubmit="popupform(this, 'join')">
Comment