I have a select box that is activated/deactivated by a check box selection, when the user deacivates the selectbox by unchecking the checkbox i want to clear any selections they have made, that is deselect the selected item so that there is no hightlighted item.
i have tried
obj.selectedIndex=false; // selects first item in list
obj.selectedIndex=0; // selects first item in list
obj.selectedIndex=-1; // selects first item in list
obj.options[obj.selectedIndex].selected=false; no results