解决方法
this重置整个表单
var validator = $("#myform").validate(); validator.resetForm();
$("#skip").click(function() { var rules = $("#name").removeAttrs("min max"); // remove min and max $("#form").submit(); // submit,as there are no attributes,it will not have an error $("#name").attr(rules); // add it again so you can validate it });