//下拉列表去重 $("select option").each(function(){ text = $(this).text(); if($("select option:contains("+text+")").length > 1) $("select option:contains("+text+"):gt(0)").remove(); }) 與後臺交互追加的下拉列表未能實現去重功能