CodeIgniter Forums
Codeigniter and JQuery conflict? - 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: Codeigniter and JQuery conflict? (/showthread.php?tid=26785)

Pages: 1 2


Codeigniter and JQuery conflict? - El Forum - 01-23-2010

[eluser]sandeep nami[/eluser]
try to post the link with absolute url
like this
Quote:$.post("<?=base_url().'login/testJSON'?>", {item : item }, function(transport)
{
alert(transport.result);
}, 'json');