Form Submission in VBScript


Please enter your email address:


<HEAD>

<SCRIPT LANGUAGE="VBSCRIPT">
<!--
	Sub Button1_onclick
		If MsgBox ("Send this email address: " & Form1.txtEmail.value & "?", 4, "Post email address?") = 6 Then
			Form1.submit
		Else
			Form1.txtEmail.focus
		End If
	End Sub
-->
</SCRIPT>

</HEAD>

<BODY>

<FORM NAME="Form1" ACTION="08_submit2.htm">
	Please enter your email address:
	<INPUT TYPE=TEXT NAME="txtEmail" SIZE=40>
	<P><INPUT TYPE=BUTTON NAME="Button1" VALUE="Submit"> <INPUT TYPE=RESET>
	</FONT>
</FORM>