Found a major bug in jquery. Validate. js 1.7.
1 $ ('# reg_form'). Validate ({
2 submithandler: function (form ){
3 form. Submit ();
4 },
5 event: "Blur", // note this
6 rules :{
7 commendmen :{
8 required: True,
9 minlength: 1,
10 remote :{
11 URL: "url ",
12 type: "Get ",
13 Data :{
14 Email: function (){
15 return $ ("# commendmen"). Val ();
16}
17}
18}
19 },
Row 3, set, verification event is blur, in fact
When an error is entered in the text box for the first time and the Blur event is triggered, blur verification is normal and an error message is displayed.
At this point, when you click the text box and continue to enter the content, you will find that each onkeyup event triggers verification !!!!!!
If remote verification is required, this bug will put some pressure on the server.
The solution is not found yet. If any brother has a solution, please kindly advise!