[jQuery] submit a form with a link

2008-12-22 Thread sole

I`m using jquery validation to validate my form and I have a problem
when I want to submit my form with a link instead of using this:

< input type="submit" value="Submit" name="Submit" class="fboton" >.

The problem is that the submit link doesn't activate the jquery
validation of the form.

Can anybody  help me with this?

Thanks!! sole.


[jQuery] submit a form with a link

2008-12-22 Thread sole

Hello!

I'm using jquery to validate a form and that I'm using this link to to
the submit:

< a href="javascript:void(0);" onclick="document.form.submit();">
Submit 


The problem is that this kind of submit doesn't activate the jquery
validation. How can I do to force the validation?

Thanks!! Sole