A class of "error" is added to any invalid element. You can customize that class using the errorClass-option.
Jörn On Wed, Mar 4, 2009 at 9:15 PM, vincent woo <vincen...@gmail.com> wrote: > > this question is regarding the form Validation plugin found here: > > http://docs.jquery.com/Plugins/Validation > > On Mar 4, 12:24 pm, vincent woo <vincen...@gmail.com> wrote: >> I want to find a simple way to change a form element's class when >> there is an unsuccessful field. Like I would like to change the input >> box to a red input box if there's an error. >> >> Thanks >> Vincent