标签:
1、项目下载地址:http://plugins.jquery.com/validation/
2、引入
<script type="text/javascript" src="${base}/js/jquery-1.9.1.js"></script>
<script type="text/javascript" src="${base}/js/jquery.validate.js"></script><br><script type="text/javascript" src="${base}/js/messages_zh.js"></script>
3.使 form表单的某个属性validate失效
4.$("#address").rules("remove", "required");
5.将<input readonly /> validate 验证正常
6.将<input disable/> validate 验证失效
标签:
原文地址:http://www.cnblogs.com/liduanwen/p/4598451.html