假設 DropDownList ID 為 DropDownList1 
 
取得 DropDownList 選中的文字
$('#DropDownList1 option:selected').text();
  
取得 DropDownList 選中的內容
$('#DropDownList1 option:selected').val();
 
option:selected = 目前所選取的
文章標籤
全站熱搜
創作者介紹
創作者 流風羽 的頭像
流風羽

流風羽的部落格

流風羽 發表在 痞客邦 留言(0) 人氣(1,953)