I Need to do cross domain Ajax request - Here is my code
$.ajax(
{
url: redirectURL,
data: $(\'#login-container form\').ser
JSONP is not really Ajax in a way that it does not use XMLHttpRequest
but a dynamic script
element. jQuery makes this transparent but JSONP still requires the following to work:
GET
only, you can't use POST
scallback
you specifyCheck if the URL you request supports JSONP and change the call to an HTTP GET
.