UI Deploy

Curated, Short, Web UI Dev we Love.

JSONP the easy way with jQuery and a simple IHttpHandler

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 for our script to read the data. We can then show the data in the object by simply looping over the fields or collections and adding the HTML to a div.

view source

Advertisement