Cant reach controller from script |
[eluser]bubbafoley[/eluser]
are you hiding index.php from the urls with mod_rewrite? If not base_url() won't work. you also don't need the callback function or the datatype in the jquery post call since the controller is doing all of the work. try this: Code: $.post("<?php echo site_url('template/saveimagetosession') ?>", { img:img }); If that doesn't work you need to debug your [removed] http://fixingthesejquery.com/#slide3 |
Messages In This Thread |
Cant reach controller from script - by El Forum - 03-10-2011, 02:03 PM
Cant reach controller from script - by El Forum - 03-10-2011, 02:07 PM
Cant reach controller from script - by El Forum - 03-10-2011, 02:41 PM
Cant reach controller from script - by El Forum - 03-10-2011, 03:12 PM
Cant reach controller from script - by El Forum - 03-10-2011, 07:24 PM
Cant reach controller from script - by El Forum - 03-24-2011, 05:51 AM
|