![]() |
how to use Ajax with CodeIgniter in a combo box - 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 use Ajax with CodeIgniter in a combo box (/showthread.php?tid=24254) |
how to use Ajax with CodeIgniter in a combo box - El Forum - 11-04-2009 [eluser]ranjitbd[/eluser] Code: // in my view page a combo box where the local city name is present. how to use Ajax with CodeIgniter in a combo box - El Forum - 11-04-2009 [eluser]Ben Edmunds[/eluser] There are many different ways. Look up using an ajax request. You would do an ajax request to a controller that would return back the city name. how to use Ajax with CodeIgniter in a combo box - El Forum - 11-04-2009 [eluser]Berserk[/eluser] your controller : Code: function get_cities(){ Code: function get_cities(){ |