- reset a select element
- selectElement.options[0].selected=true;
- Uncaught TypeError: Cannot read property '0' of undefined
- <select id="selectElement">
- <option>First</option>
- <option selected>Second</option>
- </select>
- selectElement.options[0].selected="selected";
- document.getElementById('mySelect').selectedIndex = 0;