Welcome Robert
Welcome Robert
In now trying to expand my new knowledge into the Complete event (as opposed to the Success event), I'm trying to use both the jqXHR and textStatus params -- as well as e.g. jqXHR.responseText -- in different ways to get a count as well as the value of a specific record index. Is there a way of doing it as easily as the data structure does it for the Success event. Thanks very much.
Dear Robert,
Let's output jqXHR to console to see what is returned.
Thank you so much. Here it is: http://screencast.com/t/A0kpbP62
Hi Robert,
here is code to get "data" object in "complete" event like in success event.
Note: it works only with JSON response.
pre
var data = JSON.parse(jqXHR.responseText);
console.log(data.length);
/pre
Regards.
Perfect Yurii - thanks a million.