How to call a method defined in controller from a view file? - 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: How to call a method defined in controller from a view file? (/showthread.php?tid=46422) |
How to call a method defined in controller from a view file? - El Forum - 10-31-2011 [eluser]qpixo[/eluser] Does anyone know how to call a method defined in controller from a view file? From view input form, I'm trying to post a value using Jquery/Ajax to a method in my controller to compare and get some datas from my model. It doesn't work. Got an error in firebug: POST localhost/ci/controller/method 404 not found |