jQurey中getJSON方法错误回调方法

$.getJSON("example.json", function() {
  alert("success");
})
.success(function() { alert("second success"); })
.error(function() { alert("error"); })
.complete(function() { alert("complete"); });
原文地址:https://www.cnblogs.com/vvull/p/11539793.html