<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,两个想等,不然下面取不出来
function beforeSave() { //取ID
var jjj= $('#cmbstrTrainType').combobox('getValue');
//取显示的name
var jjkj= $('#cmbstrTrainType').combobox('getText'); }