<html>
<head>
<title>ThaiCreate.Com Tutorial</title>
</head>
<body>
<script language="VBScript">
Function form1_OnSubmit()
If MsgBox("Do you want to submit",1,"Form 1") = 1 Then
form1_OnSubmit = True
Else
form1_OnSubmit = False
End IF
End Function
</script>
<form action="page.cgi" method="post" name="form1">
Form 1 <input name="txtName" type="text" id="txtName">
<input name="btnSubmit" type="submit" value="Submit">
</form>
</body>
</html>