A simple and practical easyvalidator validation framework.
Detailed reference: http://wangking717.iteye.com/blog/769021
Demo Demo: http://easyvalidator.googlecode.com/svn/trunk/index.html
Latest Download Address: http://code.google.com/p/easyvalidator/downloads/list
I. Documents required
1, Validate.css
2, Jquery.js (self-selected version)
3, Validate.pack.js
Import the above 3 files into a JSP page.
Second, how to use
Form code:
<form action= "" >
<table>
<tr>
<TD align= "Right" > User name:</td>
<td><input type= "text" name= "username" id= "username" reg= "^[a-za-z][a-za-z0-9_]{4,15}$"/><span name= "Easytip" > (letter beginning, allow 5-16 bytes, allow alphanumeric underline) </span></td>
</tr>
<tr>
<TD align= "Right" > Password:</td>
<td><input type= "text" name= "password" id= "password" reg= "^[a-za-z][a-za-z0-9]{5,15}$"/><span name= " Easytip "> (beginning with letter, length between 6-18) </span></td>
</tr>
</table>
</form>
Third, the effect diagram
I do the example of the effect diagram:
Latest Official Effect chart:
Official latest version effect I have been with the Jqmodal modal window experience, the article address is: http://blog.csdn.net/huchiwei/article/details/6829970