var name = document.getElementById("name").options[document.getElementById("name").selectedIndex].text;
var id = document.getElementById("id").options[document.getElementById("id").selectedIndex].value;

相关文章:

  • 2022-12-23
  • 2021-12-01
  • 2021-12-10
  • 2021-08-25
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2021-12-10
  • 2021-12-10
  • 2022-12-23
  • 2021-03-29
  • 2022-01-10
相关资源
相似解决方案