不用这么麻烦 直接 document.all("AwardList").options.length = 0;

解决方案 »

  1.   

    貌似有点水...
    写个循环的...<div>
    <script type="text/javascript">
    var selectRemoveAll = function (o) {
        with (o)
            while (options.length)
                removeChild(options[options.length - 1]);
    };
    window.onload = function () {
        selectRemoveAll(document.getElementById('AwardList'));
    };
    </script>
    <select id="AwardList">
        <option>1</option>
        <option>2</option>
        <option>3</option>
        <option>4</option>
    </select>
    </div>