![]() |
one dropdown appears on the selection of other - 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: one dropdown appears on the selection of other (/showthread.php?tid=53726) |
one dropdown appears on the selection of other - El Forum - 08-06-2012 [eluser]Blue_rose[/eluser] Hey everyone, I am trying to create dynamic dropdown of category and on selection of this category sub-category dropdown should appear. I have done this using OOP PHP but really having tought time with codeignitor. Firstly I have created this category dropdown Code: <?php Javascript to show sub-category I was not allowed to post here. But this is not working. As you can see ajax_category.php is not being able to pass. I think it should be done with controller, I had tried that also but nothing seems as working. I am really stuck with this. Please anyone with little help. Really getting depressed with it ![]() Many many thanks in advance. one dropdown appears on the selection of other - El Forum - 08-06-2012 [eluser]Piter[/eluser] Show HTML output in dropdown ? one dropdown appears on the selection of other - El Forum - 08-06-2012 [eluser]Blue_rose[/eluser] No actually there is two dropdowns, one is category dropdown and when you select any category then all the sub-category related to it should only appear on the sub-category. How to do this in codeignitor???? one dropdown appears on the selection of other - El Forum - 08-06-2012 [eluser]CroNiX[/eluser] It's javascript and really has nothing to do with CodeIgniter (or PHP). Search Google for "javascript dependant select" |