Posts Tagged ‘JSONP’

JSONP and jQuery

Sunday, December 13th, 2009

Nice little trick I just found out about the getJSON function in jQuery. If you add an extra “?” to the end of the url, it’ll read it as JSONP.  JSONP simply wraps the server’s response (JSON object) in a function. It’s a way to work around cross domain issues. We can finally use the widget creator anywhere, no just on the artist’s own site.