![]() |
jQuery ajax poll in CI - 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: jQuery ajax poll in CI (/showthread.php?tid=30527) |
jQuery ajax poll in CI - El Forum - 05-18-2010 [eluser]babazumbula[/eluser] Hi there, On home page I have login form and ajax poll. So controller is: Code: <?php Code: $this->form_validation->run() Code: $this->index() Code: $(document).ready(function(){ jQuery ajax poll in CI - El Forum - 05-18-2010 [eluser]bretticus[/eluser] Perhaps you should show the login/poll code. jQuery ajax poll in CI - El Forum - 05-18-2010 [eluser]babazumbula[/eluser] Code in the login/poll I simplified as much as possible so in login/poll I put: Code: $var = $this->input->post('data'); |