Tuesday, March 15, 2011

What are some good examples of JQuery using JSONP talking to .net?

As the question says, what are some good examples (or just examples really), of Jquery using JSONP to talk to a .net page or webservice?

I'm attempting to write a page which uses JQuery to call another website (Thus I need to use JSONP) which hosts the webservice/webpage (either is fine), and I can't find a good example of this.

From stackoverflow
  • JSONP is just json wrapped inside a js method. jQuery provides the method name as a callback parameter on the querystring which the jsonp endpoint must then take and wrap the json in then send the response back. The server side language really is irrelevant.

    JSONP with WCF

    Good screencast

    & a few articles below

    Rick Strahl has a blog post on it
    Another

0 comments:

Post a Comment