I am making a web interface , which requires selection of various values from dependent combo boxes. Currently i am doing this by displaying values,which are dependent to the values previously selected, on different pages in tables with checkboxes to select. but this is quite lengthy interface. i want to make a web interface which should have all the values on the same page in various dependent comboboxes, so that if i select a values from one combobox, the other dependent values to the selected record should be displayed in the next combobox by retrieving the values from the Mysql database ans so on.
i know this has to be done with the help of Java Script. but as i am a new to the Java Script , so can't figure it out . Please help me with the brief sample code to retrieve values from database and showing them in the next dependent combobox.
Thanks for replying. Well,I've also seen on net many people saying that i should sort out this problem with the help of AJAX.So can you post some sample code,or tutorial, dealing with such problem of multiple dependent comboboxes on a single JSP page, and retrieving all the values selected in the end or on submit.