Hi,

          I am using the following binding to submit the form using
ajaxSubmit(). This works if the user clicks on the submit button. But
unfortunately, i am dealing with third party form content which itself
submits the form using form.submit() event in which case the following
binding does not get called. Is there a way to trap the submit coming
from javascript itself?



// attach handler to form's submit event
$('#myFormId').submit(function() {
    // submit the form
    $(this).ajaxSubmit();
    // return false to prevent normal browser submit and page
navigation
    return false;
});

Thanks.
Narinder.

Reply via email to