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