方法1:

select.options.length=0;

 

方法2:

while(select.childNodes.length){

  select.removeChild(select.childNodes[0]);

}

相关文章: