问怎么用VBSCRIPT控制不让表单提交,感觉很好玩。我试着写了一段程序,竟然不能控制,气坏我了。于是搬出搜索引擎,一阵搜索,找到了答案
- <html>
- <head>
- <title>VBSCRIPT控制FORM</title>
- </head>
- <body>
- <form name="form1">
- <input type = "Submit">
- </form>
- <script language="vbscript">
- Function form1_onSubmit()
- Msgbox "就不让你提交"
- form1_onSubmit = false
- End Function
- </script>
- </body>
- </html>