解决方案 »

  1.   

    主要是 checkdata()执行不了
      

  2.   

    用 firebug 看看,到底发生了什么
      

  3.   

    主要是 checkdata()执行不了 
      

  4.   

    主要是 checkdata()执行不了 
      

  5.   

    没看内容,使用onclick试试看!type="button"
      

  6.   

    <form method="post" name="register" action="register.jsp" onsubmit="return checkdata();"><center><input type="button" name="regsubmit" value="提 &nbsp; 交" ></center>
      

  7.   

    你的js在外面,怎么能调用的到???要么你把js方法写在本jsp页面,要么引入js
      

  8.   

    同求  
     onsubmit=“alert('hello')”    可以使用  会有提示框onsubmit="return:chenck();" 调用函数的时候 会提示说 不能返回外部的函数方法  (Cannot return from outside a function or method.)