jQuery\'s AJAX error function has the following parameters:
error(XMLHttpRequest, textStatus, errorThrown)
What\'s the best cross-browser w
As of jQuery 1.4.1 you should use:
var json = JSON.parse(xhr.responseText);
See http://api.jquery.com/jQuery.parseJSON/.