To get the effect I want, I've had to patch the jquery validate library. Is there a simpler method instead?
Problem: I want my error label element to have two classes, and for it's distant parent to have a class, so I do some tweaking to the label argument of the errorPlacement option. When validation runs, it resets the classes on the label and adds the 1 error class. So I see a flash of what I want for a second. Initial Solution: jquery.validate.js line 600 (inside of showLabel) - label.removeClass().addClass( this.settings.errorClass ); + label.addClass( this.settings.errorClass ); Is there a better way? I'd rather not patch validate. Ideally a callback after showLabel or something. Great library BTW!