javascript - Jquery Ajax Call, doesnt call Success or Error -
$.ajax({ url: url, type: 'post', context: context, data: data, success: function (result) { callback(); }, error: function (xhr, textstatus, error) { alert("error") }, complete: function (jqxhr, status) { alert("completion callback."); }, });
it call service method & returned controller. calls compete callback.
Comments
Post a Comment