使某option變為selected $("#select1").children().each(function(){ if ($(this).text()=="option you want"){ //jQuery給法 $(this).attr("selected", "true"); //或 ...
確定! 回上一頁