I have an element with a css class ".validate_txt_sContactPhone" and after this validation, would like to apply new css class to the element.
$(".validate_txt_sContactPhone").rules("add", {
required: true,
minlength: 2,
messages: {
required: "",
minlength: jQuery.format("2*")
}
})
.validate()function.