[jQuery] jQuery Form Plugin - after ajaxSubmit call, ajax submitting seems to be disabled

[jQuery] jQuery Form Plugin - after ajaxSubmit call, ajax submitting seems to be disabled


I have a situation where I have a form that remains on a page even after a
successful submit - it is used to add items to a list of existing items.
After submitting the form, successfully, the backend responds with a blank
HTML form. This loads correctly after the call to ajaxSubmit. However when I
submit the form a second time (to add an additional item) the submit is not
sent through ajax, although my button handler which calls ajaxSubmit IS
being fired (added an alert to the beginning to confirm this). The form is
instead submitted as a regular POST form, replacing the entire page.
Any ideas why this would happen?
Handler:
function edit_card_jq() {
        $('#edit_card form').ajaxSubmit('#edit_card', function() {
            edit_card_jq();
        });
}
edit_card_jq();
--
View this message in context: http://www.nabble.com/jQuery-Form-Plugin---after-ajaxSubmit-call%2C-ajax-submitting-seems-to-be-disabled-tp21424793s27240p21424793.html
Sent from the jQuery General Discussion mailing list archive at Nabble.com.