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)&
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.
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);
});
.
3 matches
Mail list logo