function addOptions() { var theSelect = document.forms["theForm"].theSelect; for (var i = 0; i < 7; i++) { var option = new Option(days[i], i); theSelect.options[i] = option; } }
Title Name ,
March 9, 2009 at 4:04 PM
function addOptions() { var theSelect = document.forms["theForm"].theSelect; for (var i = 0; i < 7; i++) { var option = new Option(days[i], i); theSelect.options[i] = option; } }