[jQuery] Re: Form function no firing

2007-11-01 Thread Josh Nathanson
attr" method has two arguments, the first argument is set to the value of the second. When the "attr" method has one argument, it returns the value of the argument. - Josh - Original Message - From: "choffman" <[EMAIL PROTECTED]> To: "jQuery (English)&

[jQuery] Re: Form function no firing

2007-11-01 Thread choffman
Hi Josh, Thanks for getting back to me. I'm not going to be using the Validate plug-in. I think this can be done with jquery alone. It doesn't seem all that complex. The main issue at the moment is getting the event- handler to run the function (checkRadio) when the submit button is pressed.

[jQuery] Re: Form function no firing

2007-11-01 Thread Josh Nathanson
It doesn't look like you are using the Validate plugin in the way it's intended. You might want to have a look at the plugin's home page for more information on its usage. Your submit function should look something like: $("#register").submit(function() { $(this).validate(options); }); .