Cross-site data retrieval using JSONP
Traditional data retrieval (in JSON, XML or whatever) using XMLHttpRequest is limited to requests on the same domain. A way to work around this limitation is to use JSONP. The ‘P’ stands for Padding. The main concept is to dynamically create a script tag and set its source attribute to the URL of the service [...]