Rick Faircloth schrieb: > > Hi, all… > > I’ve been trying to get Jorn’s (bassistance.de) Validation plugin > > working correctly for 3 days now… Firebug > > doesn’t complain of any errors. > > The new beta 1 doesn’t work for me in FF or IE. > > Jorn’s examples run fine. But there don’t seem > > to be any errors in my code. > > Anybody using it successfully? > When you use Firebug to debug the validation, try starting with a breakpoint in the validator's form method (around line 350). Skip over the loop at first and inspect "this": Check the errorList property: Is it empty? Then the validator didn't find any validation rules or it didn't find any invalid elements. Check the "element" property: Empty? No elements found in the form (very unlikely). If that doesn't help, reload the page, and run the validation again. Go into each call of check(element). Stop after the line calling rules(). The local variable "rules" should now contain the rules found for the current element. If it is empty, there are either no rules defined for that object, or something went wrong.
I spent a lot of time refactoring the validator's code, I hope it is readable enough so you don't get totally lost while debugging. -- Jörn Zaefferer http://bassistance.de _______________________________________________ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/