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
Here is how I got it to work:
I used .ajax instead of .jsonp because you need to give the url parameters. You also need to define in your code the name of the Yahoo callback function. Here is a link explaining how to use Yahoo callback function with its web services.
http://developer.yahoo.com/javascript/json.html#callbackparam
Here is the code: