N
n2K
Hello to all. I would like to open a new window (Function is called
NewWindow and is writtent in VBscript) when a user submits a form. All the
samples I found on the web indicate something like the following:
<%@ Language=VBScript %>
<html>
<head>
</head>
<body>
<script language="javascript">
function NewWindow()
NewWindow = window.open
("Slider.asp","progress","toolbar=no,scrollbars=no,width=200,height=150,menubar=no,location=no,resizable=no");
end function
</script>
<form enctype="multipart/form-data" action="SomeASPpage.asp" method="post"
name="main1" onsubmit = NewWindow()>
<input name="file" type="file" size="50">
<INPUT type="text" id=text1 name=text1><INPUT type="text" id=text2
name=text2>
<input name="submit" type="submit" value="Do It">
</form>
</body>
</html>
What am I doing wrong? I've even tried RETURN NEWWINDOW() after ONSUBMIT.
(Okay, it's probably not close - but I am new at this).
TX...
NewWindow and is writtent in VBscript) when a user submits a form. All the
samples I found on the web indicate something like the following:
<%@ Language=VBScript %>
<html>
<head>
</head>
<body>
<script language="javascript">
function NewWindow()
NewWindow = window.open
("Slider.asp","progress","toolbar=no,scrollbars=no,width=200,height=150,menubar=no,location=no,resizable=no");
end function
</script>
<form enctype="multipart/form-data" action="SomeASPpage.asp" method="post"
name="main1" onsubmit = NewWindow()>
<input name="file" type="file" size="50">
<INPUT type="text" id=text1 name=text1><INPUT type="text" id=text2
name=text2>
<input name="submit" type="submit" value="Do It">
</form>
</body>
</html>
What am I doing wrong? I've even tried RETURN NEWWINDOW() after ONSUBMIT.
(Okay, it's probably not close - but I am new at this).
TX...