Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums JavaScript Struggling with Ajax…

  • This topic is empty.
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #33859
    Brightonmike
    Member

    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:

    http://jsfiddle.net/PbjSj/11/

    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…

    #84729
    Brightonmike
    Member

    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.

    Headache…

    #84807
    Brightonmike
    Member

    I’ve got this far:

    http://jsfiddle.net/PbjSj/17/

    I just can’t trigger the popup to confirm form submission :(

    #84885
    Brightonmike
    Member

    Can nobody help me? :(

Viewing 4 posts - 1 through 4 (of 4 total)
  • The forum ‘JavaScript’ is closed to new topics and replies.