I would like to make cross domain request in the client end, so I chose JSONP. I am new to JSONP and would like to make a request to http://somedomain.com using JavaScript and not jQuery. It would be very helpful for my development if I get sample snippet to make and handle a request using JSONP in JavaScript.
Share
Here’s a small example fetching data from a google spreadsheet:
One comment related to this example. If you want to play with your own google spreadsheet, you need to both share it as public, and publish it.