kapowaz schrieb:
Excellent! That works nicely. The method names might benefit from
being a bit more obvious (and documented on docs.jquery.com?) though.
Pass and Fail come to mind.
Both are documented here: http://docs.jquery.com/Plugins/Validation/validate
pass/fail doesn't quite fit because there is also the success option,
which explicitly adds highlighting for valid fields, where unhighlight
just removes the highlighting for invalid fields. Its a bit quirky due
to different requirements on different applications.
Thanks anyway for the suggestion, I'll keep that in mind for the 2.0 design.
Regards
Jörn