Thanks Mike, did not see that :-) okay, the plugin works, but this is the error that I get from Firebug:
exception occured when checking element password1, check the 'password' methodjquery.validate.p... (line 14) this.optional is not a function (no name)("q", input#password1.{validate_reg_form:{required:true, q, true)test.js (line 9) e(input#password1.{validate_reg_form:{required:true, q)jquery.validate.p... (line 14) e(input#password1.{validate_reg_form:{required:true, q)jquery.validate.p... (line 14) e(input#password1.{validate_reg_form:{required:true, q)jquery.validate.p... (line 14) e()jquery.validate.p... (line 14) e(Object type=blur)jquery-1.2.1.pack... (line 11) e()jquery-1.2.1.pack... (line 11) [Break on this error] return this.optional(element) || value.length >= 6 && /\d/.test(value) &... On Sep 26, 1:29 am, "Michael Geary" <[EMAIL PROTECTED]> wrote: > The test.js file has this line twice: > > $(document).ready(function(){ > > It looks like the second one is there by mistake. > > -Mike > > > From: voltron > > Yes I get it too, adding the missing "}" does not help, > > reformatting the JS causes unterminated string errors. The > > code is exactly the same as you posted > > > From: Jörn Zaefferer > > > I get "missing } after function body" on line 24 of test.js via > > > Firebug console (www.getfirebug.com). > > > > From: voltron > > > > Here is a test page: > > > >http://www.nhytro.de/apache2-default/test_validation.html