阅读背景:

Yahoo JSONP Ajax Request包含在回调函数中

来源:互联网 

I understand that I can make a crossdomain ajax call with jquery, .ajax, and jsonp. I am calling the yahoo stock quote api. Everything is working and the result is returning (I can see using Fiddler.) The problem is I get a js error YAHOO is undefined. I think its having problems because the JSON is formated within a callback function so its not correct json syntax. What can I do to fix it? Thanks! Here is the code:I understand that I can make a crossdomain ajax




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: