Closed
Description
Looking at the docs for jQuery.when here's the first example:
$.when( $.ajax("test.aspx") ).then(function(ajaxArgs){
alert(ajaxArgs[1]); /* ajaxArgs is [ "success", statusText, jqXHR ] */
});
But when testing this... ajaxArgs is not an array. Instead, it's the response's data!
Here's a fiddle for testing: http://jsfiddle.net/mrazzari/XDbS7/
Metadata
Metadata
Assignees
Labels
No labels