jQuery.getJSON doesn't trigger callback

后端 未结 4 474
没有蜡笔的小新
没有蜡笔的小新 2020-12-08 19:54

I have a html code:




        
4条回答
  •  谎友^
    谎友^ (楼主)
    2020-12-08 20:37

    I ran into this a while back and rewrote a wrapper for jQuery's Ajax which allows you to pass the normal getJSON and an additional error callback per get.

    http://www.nurelm.com/themanual/2010/08/09/self-indulgent-code-jquery-getjson-with-error-handling/

提交回复
热议问题