form action without redirect - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Using CodeIgniter (https://forum.codeigniter.com/forumdisplay.php?fid=5) +--- Forum: General Help (https://forum.codeigniter.com/forumdisplay.php?fid=24) +--- Thread: form action without redirect (/showthread.php?tid=63174) |
form action without redirect - nofpowells - 10-02-2015 Hello guys, I need help here. I need call a controller/function without redirect. I need stay in the same page and not reload that page, just call a function in controller. i don't know if have other methods without using form. Help me please. Thanks for now. here my code in a modal PHP Code: <div class="modal fade" id="add"> RE: form action without redirect - Wouter60 - 10-03-2015 You will need AJAX to accomplish this. If your website is already using Jquery, this is not difficult at all. Look here for a few good examples. RE: form action without redirect - nofpowells - 10-03-2015 Thanks Man!!! |