Resetting a select menu onload
The problem: when a user clicked the back button, the form stayed selected, but it shouldn’t have.
The solution:
body onload…
function resetForm() {
document.getElementById(”myselect”).value = document.getElementById(”myselect”).selectedIndex=0;
}