document.getElementById("department").options[document.getElementById("department").selectedIndex].text;

department是select的id。

相关文章:

  • 2022-02-25
  • 2022-12-23
  • 2021-12-04
  • 2022-12-23
  • 2022-02-16
  • 2021-08-15
  • 2022-12-23
  • 2021-12-18
猜你喜欢
  • 2022-01-02
  • 2021-12-10
  • 2021-09-04
  • 2022-01-12
  • 2021-10-24
相关资源
相似解决方案