js中怎么获取option的值?js中获取方法var obj = document.getElementByIdx_xx_x(”testSelect”)定位idvar index = obj.selectedIndex 选中索引var text = obj.o2023-03-10JavaScript280