用jquery得到select选中的值
<select class="pushtype" name="push_type" onchange="pushType(this)"> <option value="0">系統功能類</option> <option value="1" selected=""selected"">營銷活動類</option> </select>
function pushType(e) { alert($('.pushtype option:selected').val()); alert($('.pushtype option:selected').text()); }