Hey all, I'm trying to use the form plugin for the first time, and I
cannot get any of the functionality to work.  The examples seem pretty
simple, what am I missing?

Here is example code that I'm trying, the onsubmit of my form calls
this method:

function answerQuestion() {
                alert("test");
                alert($('#triviaForm'));
                $('#triviaForm').ajaxSubmit();
                return false;
}

both of the alerts fire, but then then rather than the expected ajax
submission, the page loads the url specified in the form action.  I
also tried using the ajaxForm() method rather than ajaxSubmit() and
got the same results when I submitted the form.  What's going on??

Reply via email to