diarratech
Feb 4th 2008, 12:31 pm
Hi, I have a problem calling back my popup window when I minimized it
Here is the script
<SCRIPT TYPE="text/javascript">
<!--
function popupform(myform, windowname)
{
if (! window.focus)return true;
window.open('', windowname, 'height=(500,width=500,scrollbars=yes');
myform.target=windowname;
return true;
}
//-->
</SCRIPT>
Here is the form
<FORM METHOD=POST
ACTION="../reponse.asp"
onSubmit="popupform(this, 'pop')">
name: <input name ="name">
<input type = SUBMIT Value="ok">
</form>
Thanks
Here is the script
<SCRIPT TYPE="text/javascript">
<!--
function popupform(myform, windowname)
{
if (! window.focus)return true;
window.open('', windowname, 'height=(500,width=500,scrollbars=yes');
myform.target=windowname;
return true;
}
//-->
</SCRIPT>
Here is the form
<FORM METHOD=POST
ACTION="../reponse.asp"
onSubmit="popupform(this, 'pop')">
name: <input name ="name">
<input type = SUBMIT Value="ok">
</form>
Thanks