[Solved] Using custom CSS with jQuery validation? [closed]

Introduction

Write an introduction on Using custom CSS with jQuery validation? [closed]

Solution

Code Solution Using custom CSS with jQuery validation? [closed]


There is an option for jQuery Validate called errorClass:

Use this class to create error labels, to look for existing error
labels and to add it to invalid elements.

All you need to do is specify it in your original $.validate call:

$('#myForm').validate({
   errorClass:'myClass'
   //your options
});

0

generate an article with html tags on Using custom CSS with jQuery validation? [closed]