I am using jquery validate plugin in my web application to validate forms for blank and other simple validations.
I am using below code to setup jquery validate plug
In the jQuery validation plugin, the errorClass is both applied to the error message element (usually a , but a in your case) and to the validated element itself. Since you only want to style the error message element, you should write:
errorClass
span.authError { // Your error element style. }