<script>
$.fn.clearValidation = function () {
var v = $(this).validate();
$('[name]', this).each(function () {
v.successList.push(this);
v.showErrors();
});
v.resetForm();
v.reset();
};
$(selector).clearValidation();
</script>
$.fn.clearValidation = function () {
var v = $(this).validate();
$('[name]', this).each(function () {
v.successList.push(this);
v.showErrors();
});
v.resetForm();
v.reset();
};
$(selector).clearValidation();
</script>
0 comments:
Post a Comment