troubleshooting Question

jquery validation from anchor

Avatar of Jay1607
Jay1607 asked on
jQuery
6 Comments1 Solution1035 ViewsLast Modified:
I have searched through the documentation for jquery validation (http://docs.jquery.com/Plugins/Validation), but although I am sure what I need exists, I just cant find it.

I have a form, validating with jquery validation.  All good.  But I can't submit the form from a submit button (<input type=submit...).  I need to submit the form from an anchor (<a ... ), with the following javascript to submit the form (document.contact.submit();).

The problem is that submitting the form this way doesn't fire the validation, and I can't work out how to fire off the validation script programatically.

So, my question is.. How do I execute jquery validation programatically?

Thanks in advance for all help.

Jason
ASKER CERTIFIED SOLUTION
richardneililagan

Our community of experts have been thoroughly vetted for their expertise and industry experience.

Join our community to see this answer!
Unlock 1 Answer and 6 Comments.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 6 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros