Hi all,

I have slowly put together a script to replace the input button with
an image, using Jquery. Basically, the image is added as a CSS class;
the Jquery replaces the input with a HREF.

I have used this in conjunction with the validaition plugin, it works
great with a single form, but I would like to perfect it so it would
still work if you had multiple forms on a page, each with a unique ID.

Here is the test page:
http://paulcollinslondon.com/contactTest.php

And the main validate line:

$("form").validate();

I would like to change "form" to a variable, within a function. Here is
my complete code, can anyone tell me how to specify the variable
"formID" in the validate() call? Thanks for any help, I really need it!

Cheers,
Paul

Reply via email to