日期:2014-05-16 浏览次数:20297 次
<html> <head> <meta http-equiv="Content-Type" content="text/html; charset=gb2312"> <meta http-equiv="Content-Language" content="zh-cn"> <title>JavaScript Validation Framework</title> </head> <body> <script language="JavaScript" src="validation-framework.js"></script> <form method="POST" action="/webproject2/servlet/login" id="form1" onsubmit="return doValidate(this)"> 用户名:<input type="text" name="username" size="20"><br> 密 码:<input type="password" name="password" size="20"><br><br> <input type="submit" value=" 登 录 "> <input type="reset" value=" 取 消 "> </form> </body> </html>
?