Solarpitch Posted February 2, 2007 Share Posted February 2, 2007 Hey Guys, I am looking for some advice or tutorials on how I can make list boxes depentant? ie. When you select a value in a parent list box its changes the value of the child list box? Cheers? Quote Link to comment https://forums.phpfreaks.com/topic/36757-dependant-list-boxes-short-question/ Share on other sites More sharing options...
fenway Posted February 2, 2007 Share Posted February 2, 2007 Wow... this question comes up a lot. Maybe we should get someone to write a tutorial and sticky it. Quote Link to comment https://forums.phpfreaks.com/topic/36757-dependant-list-boxes-short-question/#findComment-175316 Share on other sites More sharing options...
Solarpitch Posted February 2, 2007 Author Share Posted February 2, 2007 Maybe you should! . . well, can you help? Quote Link to comment https://forums.phpfreaks.com/topic/36757-dependant-list-boxes-short-question/#findComment-175372 Share on other sites More sharing options...
fenway Posted February 2, 2007 Share Posted February 2, 2007 You just need to monitor the onchange event for the primary listbox, and then update the options collection for the secondary one. Quote Link to comment https://forums.phpfreaks.com/topic/36757-dependant-list-boxes-short-question/#findComment-175455 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.