Javascript怎么取select的选中值和文本Javascript取select的选中值和文本方法:拿到select对象:varmyselect=document.getElementById("test")拿到选中项的索引:varindex=myselect.se2023-03-23JavaScript250