Populating drop down list options dynamically using ajax - 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: Populating drop down list options dynamically using ajax (/showthread.php?tid=46830) |
Populating drop down list options dynamically using ajax - El Forum - 11-16-2011 [eluser]Gukkie[/eluser] Hi, i have got a problem trying to figure this out. I have a Country Dropdown which contains countries, now when i select different countries, i need another dropdown called "state" to update the options according to the data retrieved, right now everything is working fine but how do i go about adding that data array to a form_dropdown()? Any ideas? |