首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 网站开发 > JavaScript >

js中select剔除全部option的值的方法

2012-09-23 
js中select删除全部option的值的方法document.getElementById(select的id).options.length 0

js中select删除全部option的值的方法
document.getElementById(select的id).options.length = 0; 

热点排行