What I did is I have 2 select boxes. The outermost object matches the name of the associated select box. We can also use 'selected' attribute in '; if (selected == "on") { html = ''; } $('#'+selectId).append(html); } function addSalespersonOption(id, name, defsales) { addOption('salesperson', id, name, … Parent's selected value could be "","1","2". Feel the need to add to the options that are available in a