As of jQuery 1.4.1 you should use:
var json = JSON.parse(xhr.responseText);
See http://api.jquery.com/jQuery.parseJSON/.
As of jQuery 1.4.1 you should use:
var json = JSON.parse(xhr.responseText);
See http://api.jquery.com/jQuery.parseJSON/.