Hi, I currently have a form (method=”POST”) that loads the action page in a popup and then closes itself after 5 seconds when the user hits the submit button.
In addition to the popup I would like the original page to also redirect somewhere, I was wondering if this was possible.
Right now I have this in the header
[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>
and my <form> tag looks like this…
[CODE] <form id=”update” action=”update.php” method=”POST” name=”update” onSubmit=”popupform(this, ‘join’)”>
Could anyone advise?