Hi,

it seems that my success callback is not getting executed, however, the Ajax
post seems to be ok (200) with the correct text output ...
The other params have effect, e.g. the ajax calls will be synchronous
(option async to false)

$('td[id^=order]').each(function(i) {
        var tdId = $(this).attr('id').substring(5, $(this).attr('id').length);
        var options = { 
                target:        '#dummy',
                beforeSubmit:  function(formData, jqForm, options) { return 
true; },
                success:       
                        function(responseText, statusText)  {
                                alert('test');  // not executed
                        },
                type:          'post',
                timeout: 30000,
                async: false,
                error: function(xhr, status, ex) {}
        };
        $(this).find('form:first').ajaxSubmit(options);
});

Anyone has an idea ?
Thank you for any help !
-- 
View this message in context: 
http://www.nabble.com/Form-plugin---success-callback-not-executed---tp24082230s27240p24082230.html
Sent from the jQuery General Discussion mailing list archive at Nabble.com.

Reply via email to