<script>
$(".form").validate({
//...
});
jQuery.validator.removeclass("classname", {remove});
</script>
答案 0 :(得分:-1)
$('form#myform').validate({
highlight: function(element) {
$(element).removeClass("error");
}
});