[jQuery] Ajax form plugin success option doesn't work.

[jQuery] Ajax form plugin success option doesn't work.


Hi,
I am trying to submit an Ajax form. Though the beforeSubmit function
is called correctly. The form itself doesn't seem to be post in AJAX
fashion.
For example, my options are
var options = {
        target: '#main-content', // target element(s) to be updated
with server response
        beforeSubmit: showRequest, // pre-submit callback
        success: showResponse // post-submit callback
}
And then when I do, jQuery(this).ajaxSubmit(options), java script
method beforeSubmit is called, but the success method showResponse is
never called and the form submit does not happen in AJAX fashion. The
same works in my simpler examples and local files. Any ideas/pointers
on why this is the case. My page is too complex is to post in here.
Regards
Sathya