document.getElementById("department").options[document.getElementById("department").selectedIndex].text;
department是select的id。
document.getElementById("department").options[document.getElementById("department").selectedIndex].text;
department是select的id。