Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
使用 3.5 框架调用跨域引用需要做什么?我了解到在 4.0 框架中默认支持 JSONP。
有什么帮助?
使用什么框架或环境并不重要。只要您的网页返回一个包装在您正在执行 JSONP 的函数中的VALID JAVASCRIPT对象。
让您的网页返回如下内容:
func({"foo":"bar"});