Hello Guys
I Need to do cross domain Ajax request - Here is my code
$.ajax(
{
url: redirectURL,
data: $('#login-container form').serialize() + querystring,
type: 'post',
cache: false,
dataType: 'jsonp',
jsonp: 'jsonp_callback',
});
Error: [Exception... "Access to restricted URI denied" code: "1012" nsresult: "0x805303f4 (NS_ERROR_DOM_BAD_URI)" location: "http://testsite/assets/scripts/jquery-1.3.2.js Line: 19"] Source File: http://testsite/assets/scripts/jquery-1.3.2.js Line: 19
I have checkout the following links too -
http://stackoverflow.com/questions/51283/access-to-restricted-uri-denied-code-1012
$.ajax(
{
url: redirectURL+'?callback=?',
data: $('#login-container form').serialize() + querystring,
type: 'post',
cache: false,
dataType: 'html' });
I have tried Callback in url too . I had already seen all link in stackoverflow regarding this issue.. but not able to overcome this thing Can anyone please help and tell me how to overcome !! Thanks