JQuery Form success callback not being called -
i have searched , can't find answer matches exact situation first off, apologies if duplicate.
i using asp.net mvc 3, , submitting form using jquery form plugin. form submits correctly , able step through code behind etc success callback never called - i've stripped code simple possible:
$(document).ready(function () { bindform(); }); function bindform() { $('#paydayform').ajaxform({ error: function() { alert("error");}, success: function() { alert("success");}, }); } the form submits neither error or success called!
are submitting cross-domain ajax? that's 1 reason can think receive data on server javascript code either not receive success callback @ (firefox) or call never response data (chrome).
Comments
Post a Comment