- This topic is empty.
I really shouldn’t be struggling with this, but I am. I am trying to use jQuery validation in conjunction with the jQuery form plugin for Ajax submission. This is my fiddle:
Ok, so the validation works, and when you click submit, you get a nice little popup. However, it never actually sends. If I remove the ajax at the top, it does send.
I’ve also tried using jQuery forms Ajax syntax instead of the one that comes with jQuery validate but neither work. I’ve tried moving it around etc but it just won’t do the tango.
I dunno, I am clearly missing something really obvious here and I know the second one of you whizzes points it out I’m gonna feel pretty stupid…but hey…
I’ve figured out I need to use “beforesubmit” and I’m not using ajaxsubmit, just ajaxform. Just don’t know how to implement these with the validation plugin.
I’ve got this far:
I just can’t trigger the popup to confirm form submission :(
Can nobody help me? :(