普通网友 2016-06-06 19:16
浏览 49

跨域AJAX请求

Sometimes the rules make no sense to me.

How do people make an ajax request to a google api or something like that? I mean does everything have to be cross-origin? It seems stupid... why can't I make a nonblocking ajax get request to google..

I've heard you can use jsonp-- but in that case the server has to support that format. I want a way to make async ajax get requests to cross-origin pages.

  • 写回答

0条回答 默认 最新

    报告相同问题?