What is JSONP?

retanshgautam
retanshgautam

Posted On: Feb 22, 2018

 

JSON-P (JSON with padding) is a technique of Javascript which allows you to return back to the JSON data from a remote server. When we create a script node dynamically with a cross-domain source then in case of returning Javascript function to a remote site there is a need for evaluation of that function. In the case of JSON, you can only get particular data from a remote server but in case you want to stick to the returned data then there is a need to use a Javascript function which is JSONP. It becomes easy to use JSONP with jQuery.

    Related Questions

    Please Login or Register to leave a response.

    Related Questions

    Front End Developer Interview Questions

    What is HTML?

    HTML (HyperText Markup Language) is a markup language to design the web page. It is used to display the contents of the web page in order. They are the building blocks of the HTML pages. This text-bas...

    Front End Developer Interview Questions

    What is Ajax?

    Ajax (Asynchronous Javascript and XML) is a technique to create asynchronous web applications. Applications developed with Ajax can send and retrieve data asynchronously from the server without interf...

    Front End Developer Interview Questions

    What is npm?

    NPM stands for Node Package Manager. It is used to install, uninstall, update packages for Javascript Programming Language. NPM also is a default package manager for Node.js....