JSONP or “JSON with padding” is a complement to the base JSON data format, a pattern of usage that allows a page to request data from a server in a different domain. As a solution to this problem, JSONP is an alternative to a more recent method called Cross-Origin Resource Sharing .
What is Ajax?
Creating XMLHttpRequest Objects is one of the most important intial steps in making an ajax request. This article is on how to create an XMLHttpRequest Object. Learn more about the XHR Object.