js取得select得值

xiaoxiao2026-06-17  29

获得所选项的value值

<select name="name" οnchange="celValue(this.options[selectedIndex].value)">            <option  value="javascript">javascript</option> </select> 获得所选项的text显示名称<select name="name" οnchange="celValue(this.options[selectedIndex].Text)">            <option  value="javascript">javascript</option> </select>

 

相关资源:敏捷开发V1.0.pptx
转载请注明原文地址: https://www.6miu.com/read-5050283.html

最新回复(0)