javascript combo box code example Example: javascript select element in dropdown Click to copydocument.getElementById("stateSelect").selected = true;