<input id="cmbstrTrainType" class="easyui-combobox" name="cmbstrTrainType" style="width:102px;height: 32px;" data-options=" url:'/Page/Ashx/GetCmbInfo.ashx?strFun=GetstrTrainTypeEasyUI', method:'get', valueField:'strTypeName', textField:'strTypeName', panelHeight:'300' "/>
//須要id和name,兩個想等,否則下面取不出來ui
function beforeSave() { //取ID var jjj= $('#cmbstrTrainType').combobox('getValue'); //取顯示的name var jjkj= $('#cmbstrTrainType').combobox('getText'); }