I have been trying, unsuccessfully, to have a dropdown list default to a specific option. In this case the dropdown is a list of months and I want the current month to be the selected item. I have tried to select the correct option via the:
document.getElementById("listID").selectedIndex
but it does not work. Any Ideas?
document.getElementById("listID").selectedIndex
but it does not work. Any Ideas?