Roman Tumaykin
Member since Apr 1, 2011
- Profile: /members/8078-roman-tumaykin.htm
- Comments: 2
Recent Blog Comments By Roman Tumaykin
-
Using $.ajaxPrefilter() To Configure AJAX Requests In jQuery 1.5
Posted on Apr 6, 2011 at 6:13 AM
@Ben, The standard jQuery error function passes the arguments in the following order: jqXHR, textStatus, errorThrown. It seems very logical to me to follow the order and send JSON as the last argument (errorThrown). In the end, the data that is getting passed is, essentially, a fault contract, in o... read more »
-
Using $.ajaxPrefilter() To Configure AJAX Requests In jQuery 1.5
Posted on Apr 1, 2011 at 4:40 AM
Excellent article! Thank you! The only thing I feel worth to mention is that the rejectWith parameters should probably be reordered, since the standard error handler sends them in the following order: jqXHR, text status, error thrown.... read more »