使用迴圈取得所有被選擇的項目 $("#select").find(":selected").each(function() { alert(this.text); // 文字 alert(this.value); // 值 });.
確定! 回上一頁