JSONP the easy way with jQuery and a simple IHttpHandler

added by galratner
12/12/2010 6:41:42 PM

0 Kicks, 87 Views

JSONP or “JSON with padding” is a slight variation of JSON. In JSON we create a string representation of a JavaScript object and call eval(myObject) in order to create a live JavaScript object. We can then show the data in the object by simply looping over the fields or collections and setting the HTML in a div.