mala7 Posted November 7, 2011 Share Posted November 7, 2011 Hi I need some help I have two select menus, I need to make the options listed in the second menu dependent on the options selected from the first menu. for example if the first menu options were : -boys -girls and the second menu options were: -Jon -Jenifer -Tom -Jolia what i need to do is displaying only Jon and Tom if the boys option is selected from the first menu and displaying only Jenifer and Jolia if the girls option is selected from the first menu is it possible to be done by php?? or Do i have to make it by java?? Thanks Link to comment https://forums.phpfreaks.com/topic/250587-two-dependent-select-menus/ Share on other sites More sharing options...
trq Posted November 7, 2011 Share Posted November 7, 2011 Do i have to make it by java?? Javascript. Link to comment https://forums.phpfreaks.com/topic/250587-two-dependent-select-menus/#findComment-1285730 Share on other sites More sharing options...
haku Posted November 7, 2011 Share Posted November 7, 2011 If you want it to happen without a page load, you will need javascript (as Thorpe very correctly pointed out). If you don't mind a page load, you can do it purely with PHP. Link to comment https://forums.phpfreaks.com/topic/250587-two-dependent-select-menus/#findComment-1285778 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.