JQueryValidation - Input error class name

Posted by Melursus on Stack Overflow See other posts from Stack Overflow or by Melursus
Published on 2010-03-17T02:13:00Z Indexed on 2010/03/17 2:21 UTC
Read the original article Hit count: 287

Filed under:
|

Is there a way with the JQueryValidation plugin to set the input css class error. This css class is different from the label css error class.

Because if I set : errorClass: "field-validation-error"

That will apply for label and input. I would like input to have "input-validation-error" css class and label to have "field-validation-error" css class.

© Stack Overflow or respective owner

Related posts about jQuery

Related posts about jquery-validate