Home  >  Article  >  Backend Development  >  javascript - jsonp 跨域

javascript - jsonp 跨域

WBOY
WBOYOriginal
2016-06-06 20:46:12948browse

javascript - jsonp  跨域

javascript - jsonp  跨域
返回的数据console.log()是空的?是什么情况?
是我返回的json数据格式有问题吗?

回复内容:

javascript - jsonp  跨域

javascript - jsonp  跨域
返回的数据console.log()是空的?是什么情况?
是我返回的json数据格式有问题吗?

jsonpCallback这才是回调函数

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn