angel1987 Posted July 7, 2010 Share Posted July 7, 2010 Hello all, i need some help. I have one combo box which displays categories which has many sub categories. Sub categories can further have its sub categories and there is no limit to the tree. So basically, i want to update that same combo box. If i select the main category from the combo box then it should display its sub categories and so on. I know its done through PHP and AJAX but i am unable to search it online, can you help or direct me to the correct article? Link to comment https://forums.phpfreaks.com/topic/206971-updating-combobox-items-based-on-previously-selected-item/ Share on other sites More sharing options...
georgebates Posted July 7, 2010 Share Posted July 7, 2010 this can be done easily with javascript Link to comment https://forums.phpfreaks.com/topic/206971-updating-combobox-items-based-on-previously-selected-item/#findComment-1082319 Share on other sites More sharing options...
angel1987 Posted July 7, 2010 Author Share Posted July 7, 2010 That is what i am not sure how to do it, since i am still learning i need some direction. Can anyone help with the code please? Link to comment https://forums.phpfreaks.com/topic/206971-updating-combobox-items-based-on-previously-selected-item/#findComment-1082449 Share on other sites More sharing options...
Pikachu2000 Posted July 7, 2010 Share Posted July 7, 2010 Google "chained select boxes php ajax". There are tons of scripts and tutorials. If you run into problems, post your code and any error messages here, and someone will surely be able to help. Link to comment https://forums.phpfreaks.com/topic/206971-updating-combobox-items-based-on-previously-selected-item/#findComment-1082483 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.