but this doesn't give answer....
Code:
function fun_month() { var temp = document.getElementById("list_month").selectedIndex; alert(temp); selected_month = document.getElementById("list_month").options[temp].value; alert(selected_month); }
Comment