EasyUI中easyui-combobox的onchange事件。
阿新 • • 發佈:2017-09-29
lec cnblogs func select .com obj cti html class
html:
<select id="cbox" class="easyui-combobox" name="dept" style="width:200px;">
<option value="opd">delphi</option>
<option>.net</option>
<option>vb</option>
< option>JQuery</option>
<option>JQuery-EasyUI</option>
</select>
js:
//easyui-combobox的onchange事件。 $(function () { $("#cbox").combobox({ onChange: function (nvalue, ovalue) { $("#dg").datagrid(‘reload‘, { bobject: nvalue, bscore: ‘90‘ }); } }); })
EasyUI中easyui-combobox的onchange事件。