Hello group, I am working on a form that has one select box that auto-populates the next select box with a list of values. The first select box is a category and the next represents a list of products within that category. When the category is selected, the list of products for that category appears.
I've found many variants of this script on the web but there is one 'gotcha' that I have not been able to solve. The first select box of Categories is a multi-select, meaning that the second box should be populated with products for all of the categories currently selected on the form. The plugins and various javascript and jQuery scripts I have found can satisfy the basic need of autopopulation but fall short of supporting multiple parent records on the form. When a second category is selected, the options in the second (dependent) select box are wiped out, but what I need to have happen is an aggregate result of all products assigned to all selected categories on the form. Does anyone know of a good jQuery plugin that could handle this? I have worked with jQuery but still getting up-to-speed with all of its functions and flexibility. Oh, and there is one caveat - it must be compatible with IE 6.0 - unfortunately that is the standard at my company. Thanks in advance for any pointers or suggestions you might have.