按DOM方式 // 使用dom的方法 $( " floatingFrequencyCode " ).options.insertBefore(createOption(thestr, " 01 " ), $( " floatingFrequencyCode " ).options[ 0 ]); // 则需要此方式来生成optino function createOption(thetext, thevalue) ... { var theoption = document.createElement("OPTION"); theoption.innerHTML = thetext; theoption.value = thevalue; return theoption;} 不按DOM方式 function createOption(thetext, thevalue) ... { var theoption = document.createElement("OPTION"); theoption.text = thetext; theoption.value = thevalue; return theoption;} $( " floatingFrequencyCode " ).options.add(createOption(thestr, " 01 " ), 0 ); // 0是插入的位置,如果不写该参数,则直接追加在select尾部