摘要:
FROM : http://mangege.iteye.com/blog/1001984$.validator.setDefaults({ submitHandler: function() { alert("submitted!");return false; }});$().ready(function() { // validate signup form on keyup and submit $("#reg_form").validate({ rules: { /* input name 有 . 时加上引号 */ ... 阅读全文