第一種方式(原生js). var obj = document.getElementByIdx_x(”testSelect”); //定位id var index = obj.selectedIndex; // 選中索引 var text ...
確定! 回上一頁