$("#id").ajaxSubmit({ url: 'shopspsave', iframe: true, data: 1, success: function(res) { alert(res.msg); $('#id').clearForm(); }, error: function(arg1, arg2, ex) { // ... my error function (never getting here in IE) }, dataType: 'json' });