easyui combobox下拉框 的取value text的API

$("#selectId").combobox('setValue',value);//使用ID选择器,来对下拉框进行赋值;

下拉框有两个属性:ID 和 VALUE,通过上面的代码 对ID 进行赋值,赋值ID之后,value就自动加载过来了

$('#dateTime').combobox('getValue');//下拉框的取Value方法

$('#dateTime').combobox('getText');//下拉框的去Text方法

猜你喜欢

转载自blog.csdn.net/weixin_42350212/article/details/81211777