immoralg Posted October 28, 2007 Share Posted October 28, 2007 I want to have a drop down system like this one. But without the radio buttons. I want to have 3 drop downs but have no idea how to go about it. I assume I will need to activate some sort of Javascript on the onChange event of the option drop downs. Quote Link to comment https://forums.phpfreaks.com/topic/75116-drop-down-lists-changing-depending-on-other-drop-downs/ Share on other sites More sharing options...
GingerRobot Posted October 28, 2007 Share Posted October 28, 2007 If you want to do this without reloading the page (as in the example you showed) then you'll need to use AJAX. There's an FAQ here: http://www.phpfreaks.com/forums/index.php/topic,155984.0.html Or for more of an introduction to AJAX, look here: http://www.ajaxfreaks.com/tutorials.php Quote Link to comment https://forums.phpfreaks.com/topic/75116-drop-down-lists-changing-depending-on-other-drop-downs/#findComment-379897 Share on other sites More sharing options...
immoralg Posted October 28, 2007 Author Share Posted October 28, 2007 Copying the code works fine but as soon as I try to link it up to some dummy content I have in a MySQL database it all scews up. Quote Link to comment https://forums.phpfreaks.com/topic/75116-drop-down-lists-changing-depending-on-other-drop-downs/#findComment-380026 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.