> An alternative to the above extended array/objects would be to just pass the
> jQuery object
> that contains all form elements as a second parameter to the pre-callback.
> The validation
> could then access all form elements and use the validation rules within the
> elements to
> check the entries in the array.
That's a great idea, Jörn. I prefer that to adding to the array since
the jQuery object will be able to provide everything anyone could
need.
> Great to see the testrunner in action for something else then jQuery itself.
> The code looks
> like you just wrote that directly into the html page, instead of generating
> it, right?
Yes, it's all just hard-coded into the test page.
> selecting $(':input', context) should be the same as $('*',
> context).filter(':input'), but faster.
Thanks for the tip. I'll take a look at that.
Mike
_______________________________________________
jQuery mailing list
[email protected]
http://jquery.com/discuss/