Brian schrieb: > Here's an idea: > > <label for="foo" class="validate 000h000h00"></label> > <input name="foo" id="foo" type="text" /> > *snip* > What do you think? I'm almost feeling crazy enough to take a whack at it. > It all starts with $("label"), how hard could it be? :) > That is an interesting approach. It wouldn't take much effort to build that into the existing plugin. If you want to try: Start with modifying findRules. If you want to start selecting the labels instead of the inputs, you need to modify more then that: At least validateForm and validateElement would need to be modified.
-- Jörn _______________________________________________ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/