select删除所有项
var select = document.getElementById("selectId");while(select.options.length>0) {select.options.remove(0);} 发布时间: 2012-10-12 10:17:04 作者: rapoo
select删除所有项
var select = document.getElementById("selectId");while(select.options.length>0) {select.options.remove(0);}