Jquery Validation: How to make fields red

前端 未结 4 1527
春和景丽
春和景丽 2021-02-04 04:51

I am using jquery and jquery.validate.cs (jQuery Validation Plugin 1.8.0) to validate a form. Right now it displays a message next to a field saying : \"This is a required fiel

4条回答
  •  抹茶落季
    2021-02-04 05:08

    use Firebug to see what the class of the error element is and then use css to make it red:

    .error-label {
        color: red;
    }
    

提交回复
热议问题