Jquery Error and CI on FF3 - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20) +--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forumdisplay.php?fid=23) +--- Thread: Jquery Error and CI on FF3 (/showthread.php?tid=10058) |
Jquery Error and CI on FF3 - El Forum - 07-17-2008 [eluser]nirbhab[/eluser] Access to restricted URI denied" code: "1012 i am loading a form through a Jquery Load(). and it works fine. But when i send this form data to a different domain for authentication. It just throws the above error. Ajax Request and Response is cross domain. Jquery Error and CI on FF3 - El Forum - 07-17-2008 [eluser]Bramme[/eluser] You can't just make ajax calls to another domain, it's simply not possible because of the security risks. There's some techniques for it though. I think one is called "JSONP" but not sure. Jquery Error and CI on FF3 - El Forum - 07-17-2008 [eluser]nirbhab[/eluser] Guys cheers! it is resolved, and thanx to Bramme for some idea, but this issue can be solved by JSON, getJSON(); Regarding more clarification, i was using $.post(url,data,function,'json'); Now i am using $.getJSON(url, data, function); And its running fine, in a cross domain nature. |