![]() |
can't not load controller in ajax url,, - 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: can't not load controller in ajax url,, (/showthread.php?tid=53244) |
can't not load controller in ajax url,, - El Forum - 07-16-2012 [eluser]beben[/eluser] I want to load view using ajax,, so i call the controller in ajax,, but,, nothing changed,, i can't load the controller.. this is my code... Code: var x = 1; Thank you... can't not load controller in ajax url,, - El Forum - 07-16-2012 [eluser]CroNiX[/eluser] Is this a standalone js file? What errors do you see in firebug/console? can't not load controller in ajax url,, - El Forum - 07-16-2012 [eluser]InsiteFX[/eluser] Your missing this Code: type: 'POST', can't not load controller in ajax url,, - El Forum - 07-16-2012 [eluser]beben[/eluser] @CroNiX,, this inline js.. but.. what's the diffirent ?? @InsiteFX,, i've tried it,, nothing changes... can't not load controller in ajax url,, - El Forum - 07-16-2012 [eluser]CroNiX[/eluser] If it was standalone you wouldn't be able to use php in it. What errors in js console? can't not load controller in ajax url,, - El Forum - 07-16-2012 [eluser]InsiteFX[/eluser] Also your using full php tags in one url and short php tags in the other url. |