<select onchange="clearItems(this)">
<option value=a >aaa</option>
<option value=b>bbb</option>
<option value=c>ccc</option>
<option value=d>ddd</option>
</select>
<script>
function clearItems(obj)
{
    var len = obj.options.length;
    for (i=0;i<len;i++)
    {
       obj.options.remove(0);
      
    }
}
</script>

解决方案 »

  1.   

    <script>
        function clearItem()
        {
            window.select1.innerHTML=""
        }
    </script>
      

  2.   

    <select name=sel onchange="bao(this.options[this.options.selectedIndex])">
    <option value="">请选择
    <option value="1">item1
    <option value="2">item2
    </select>
    <script>
    function bao(element)
    {
        //功能:选中后,清除其余未选中的选项.
        var selops = new Option(element.innerText,element.value);
        var sel = document.all.sel;
        sel.options.length = 0;
        sel.options[sel.options.length] = selops;
    }
    </script>
      

  3.   

    to楼主:
    不知道你什么想法,清空了数据,select还有什么意义?
    选错了怎么办?