Get Ajax Function From Function
I have function like function someFunc(somevar) { somevar = typeof(somevar) != 'undefined' ? somevar : 1; $.ajax({ url: 'index.php', type: 'post', data: 'somevar=' +
Solution 1:
If you simply just want to get the result object, just capture the return value. A jqXHR object is returned.
Post a Comment for "Get Ajax Function From Function"