📅  最后修改于: 2022-03-11 14:49:10.034000             🧑  作者: Mango
代码示例1
var skillsSelect = document.getElementById("newSkill");
var selectedText = skillsSelect.options[skillsSelect.selectedIndex].text;