I have an autocomplete combobox that creates a new select box based upon the value selected. However, if the user clicks back on the autocomplete box and does another search, an additional select box is created.
I need to somehow remove the select box if the user does an additional search. Would I do that in the onFocus event?
Set the class of the new select boxes you create to
class="dynamic".Then, in the same event in which you create the new select box add:
to remove all the select boxes you created before.