easyui combobox下拉框 的取value text的API

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

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

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

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

posted @ 2018-07-25 22:57  Linux黑客小课堂  阅读(59)  评论(0)    收藏  举报