CodeIgniter Forums
[HELP] How to make chain dropdown menu - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20)
+--- Forum: Archived General Discussion (https://forum.codeigniter.com/forumdisplay.php?fid=21)
+--- Thread: [HELP] How to make chain dropdown menu (/showthread.php?tid=41897)



[HELP] How to make chain dropdown menu - El Forum - 05-20-2011

[eluser]Unknown[/eluser]
please help me,,

I want to make 2 dropdown menu(ex. "dropdown-1" and "dropdown-2")...
When I choose an option in "dropdown-1" then the "dropdown-2" will active and give me another option to choice...

How should I make it??
Please show me a way master...


[HELP] How to make chain dropdown menu - El Forum - 05-20-2011

[eluser]ghprod[/eluser]
Hi,

just like ordinary PHP, you can use AJAX, and use "onChange" for dropdown 1 .. whenever dropdown 1 change the selected option will triger ajax request to get parameter for dropdown 2 Smile

if you ever do this with ordinary PHP then i think you can convert it into CI Smile

g'luck..


[HELP] How to make chain dropdown menu - El Forum - 06-15-2011

[eluser]baradji[/eluser]
I have the same problem.
Is some body resolved with CI?


[HELP] How to make chain dropdown menu - El Forum - 06-15-2011

[eluser]InsiteFX[/eluser]
Horizontal Subnav with CSS

InsiteFX