var select = document.getElementById('下拉菜单的id');var a = ['优秀','良好','差'];for(var i = 0, len = a.length; i < len; i++){ var opt = new Option(a[i], a[i]); select.add(opt, undefined);}