摘要: 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 有 . 时加上引号 */ ... 阅读全文
posted @ 2011-08-27 10:55 Athrun 阅读(547) 评论(0) 推荐(0) 编辑