4 ms·
This is made with a XHR request, not JSONP. JSONP requests are made by inserting a script tag and defining a callback function to get around cross site requests
by mikkelewis 13y ago
This is made with a XHR request, not JSONP. JSONP requests are made by inserting a script tag and defining a callback function to get around cross site requests limitation with XHR.
- steveklabnik 13y ago... which now should generally be done with CORS, if you can.
- byroot 13y agoAs much as I love CORS, it unfortunately have a ton of browser compatibility quirks... And not just from IE.
- ilaksh 13y agoWhy didn't he use JSONP since he was executing the code right away?