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