jQurey中getJSON方法错误回调方法

$.getJSON("example.json", function() {
  alert("success");
})
.success(function() { alert("second success"); })
.error(function() { alert("error"); })
.complete(function() { alert("complete"); });

 

posted @ 2019-09-18 09:48  vvull  阅读(526)  评论(0编辑  收藏  举报