form2_onsubmit 为什么没有执行。该如何处理

form2_onsubmit 为什么没有执行。%@languagevbscript%htmlheadmetaname VI60_defaultClientScrip

form2_onsubmit 为什么没有执行。
<%       @       language=vbscript       %>      
    <html>      
    <head>      
    <meta       name= "VI60_defaultClientScript "       content= "VBScript ">      
    <title>       File       Upload       </title>      
    <script       ID= "clientEventHandlersVBS "       LANGUAGE= "vbscript ">      
    <!--          
    Sub       form2_onsubmit       //**       这里是关键,当form2在提交的过程中时,即活form1的提交      
    form1.submit       //**所以我们这里用了两个表单,但只用一个提交就可以了。      
    End       Sub      
    -->      
    </script>      
    </head>      
    <body>      
       
    <form       name= "form1 "       ENCTYPE= "multipart/form-data "       ACTION= "upimage.asp "       METHOD= "POST "       target= "_blank ">      
    Please       choose       a       picture       to       upload:       <br/>      
    <input       NAME= "picture "       TYPE= "FILE ">       <br/>      
    </form>      
       
    <form       name= "form2 "       action= "uptext.asp "       method= "post ">      
    <input       type= "text "       name= "text1 "> <br/>      
    <input       type= "text "       name= "text2 "> <br/>      
    <input       type= "submit "       value= "提交 ">      
    </form>      
       
    </body>      
    </html>      


[解决办法]
习惯用JAVASCRIPT写。呵呵。改写下:
<html>
<head>
<meta name= "VI60_defaultClientScript "

content= "VBScript ">
<title> File Upload </title>
<script LANGUAGE= "javascript ">
<!--
function submitall(){
document.form1.submit();
}
-->
</script>
</head>
<body>

<form name= "form1 " ENCTYPE= "multipart/form-data "

ACTION= "upimage.asp " METHOD= "POST " target= "_blank ">


Please choose a picture to upload: <br/>
<input NAME= "picture " TYPE= "FILE "> <br/>
</form>

<form name= "form2 " action= "uptext.asp " method= "post "

onsubmit=javascript:submitall();>
<input type= "text " name= "text1 "> <br/>
<input type= "text " name= "text2 "> <br/>
<input type= "submit " value= "提交 ">
</form>

</body>
</html>
[解决办法]
第二个表单:
<form..... onsubmit= "form2_onsubmit ">
.........


其实吧,最好不要用vbscript作为页面脚本.应该用javascript.
vbscript以前说是仅IE支持.现在的情况就不晓得了.