What are some good examples of JQuery using JSONP talking to .net?
Question
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.
Solution
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.
& a few articles below
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow