日期:2014-05-17  浏览次数:20877 次

帮我改一个很简单的VBSCRIPT语句,急!!不好意累,只有10了
<script   language= "vbscript ">
    sub   Out()          
        window.location= "Logout.asp "  
    end   sub    
   
    sub   AdminOut()
          window.location= "AdminLogout.asp "
    end   sub    
</script>
帮我看一下这句话有没有错?  
调用时用
......
<input   type= "reset "   name= "Submit2 "   value= "Reset "   onClick= "vbscript:AdminOut ">
......

错误提示:调用子程序是不能便用括号
急啊!!    
不好意累,只有10了

------解决方案--------------------
<input type= "reset " name= "Submit2 " value= "Reset " onClick= "vbscript:call AdminOut ">