JSON with Padding = JSONP
Aug 19th, 2008 by admin

With JSONP, you can avoid the “Access is Denied” problem when loading a remote AJAX request. jQuery 1.2.x now supports JSONP, you can use that or this simple code snippet. In this example, let’s assume you’re on a page with a remote javascript loaded, now you only want this remote script to reload, not the whole page.

And the result of getJSON.php:

»  Substance:WordPress   »  Style:Ahren Ahimsa