Error : : jQuery was not called

后端 未结 4 1749
时光说笑
时光说笑 2020-12-17 15:03

Here is my ajax call.

 $.ajax({
    type: \"GET\",
    url: \"http://example.com/v1/search?keyword=r\",
    dataType: \"jsonp\",
    crossDomain: true,
    s         


        
4条回答
  •  攒了一身酷
    2020-12-17 15:40

    That suggests either a network error or an end point that doesn't return a JSONP response.

    (I'm guessing the DNS lookup failure I get when testing it is because that isn't your real URL (please use example.com for example URLs, that is what it is there for) if not, then that is your problem).

提交回复
热议问题