remove selected option from dropdown js code example Example: remove selected js document.getElementById("selectboxID").selectedIndex = -1;