redirect funtion in codeigniter - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Using CodeIgniter (https://forum.codeigniter.com/forumdisplay.php?fid=5) +--- Forum: Installation & Setup (https://forum.codeigniter.com/forumdisplay.php?fid=9) +--- Thread: redirect funtion in codeigniter (/showthread.php?tid=70468) |
redirect funtion in codeigniter - iddrisu sumaila - 04-13-2018 Hello please i need a help to as to how to stop codeigniter redirect function refresh.anytime i run my app it continuesly refresh the page without stoping thanks in advance RE: redirect funtion in codeigniter - alamowais - 06-22-2018 Redirectin perform at some ID or Class so you can use the following trick $('#particularID').on('event like submit', function(e) { e.preventDefault(); e.stopPropagation(); // only neccessary if something above is listening to the (default-)event too [YOUR CODE GOES HERE] }); |