复制代码
代码如下:document.getElementById("selectid").options.length = 0;
方法二
复制代码
代码如下:document.formName.selectName.options.length = 0;
方法三
复制代码
代码如下:document.getElementById("selectid").innerHTML = "";
文章分类: |
|
上传中....