随笔 - 5,  文章 - 35,  评论 - 6,  阅读 - 97524
08 2009 档案
JS技巧
摘要:js获取selec的选中项var obj = document.getElementById(”select_id”); //selectidvar index = obj.selectedIndex; // 选中索引var text = obj.options[index].text; // 选中文本var value = obj.options[index].value... 阅读全文
posted @ 2009-08-30 23:37 wbscn 阅读(117) 评论(0) 推荐(0)

< 2025年4月 >
30 31 1 2 3 4 5
6 7 8 9 10 11 12
13 14 15 16 17 18 19
20 21 22 23 24 25 26
27 28 29 30 1 2 3
4 5 6 7 8 9 10

点击右上角即可分享
微信分享提示