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