var a=document.form1.select;
a.options[a.selectedIndex]=null;

解决方案 »

  1.   

    oSelect.removeChild(oSelect.options[0]) //删除第一项
      

  2.   

    这个绝对ok
    <select name="sel" id="sel" onChange="getValue('sel')">
      <option selected>请选择</option>
      <option>1</option>
      <option>2</option>
      <option>3</option>
      <option>4</option>
    </select>
    <SCRIPT LANGUAGE="JavaScript">
    <!--
    function getValue(obj){
        var sel=document.getElementById(obj);
    for(i=0;i<sel.all.length;i++){
    if(sel.options[i].selected==true){
    sel.removeChild(sel.options[i])
    }
    }
    }
    //-->
    </SCRIPT>