标签:query website 校验 nbsp val out 设置 form fun
<script type="text/javascript"> $(function(){ var flag = $("#addForm").validate({ onfocusout: function(element) { $(element).valid(); }, rules:{ website:{ required:true, minlength:2 }, url:{ url:true, require:true } } }); }); </script>
标签:query website 校验 nbsp val out 设置 form fun
原文地址:https://www.cnblogs.com/jepson6669/p/9062429.html