当前位置:网站首页>The combobox of easyUI selects the first option by default
The combobox of easyUI selects the first option by default
2022-07-26 22:03:00 【reg183】
pmProjectSelect.combobox({
editable:false,
165,
url : ctx + ‘/PmProject/findByProjectMgr’,
//combobox The first... Is selected by default
onLoadSuccess:function(){
var data = pmProjectSelect.combobox(‘getData’);// Get all drop-down box data
if (data.length > 0) {
// If there is data, the first data is selected by default
pmProjectSelect.combobox(‘select’,data[0].value);
}
}
});
边栏推荐
猜你喜欢
随机推荐
In depth analysis of the source code, why is the string class immutable? (hit me before you understand)
Selenium automated test interview questions family bucket
Isilon's onefs common operation commands (I)
Let me show you the MySQL isolation level. What happens when two transactions operate on the same row of data at the same time?
七月集训(第26天) —— 并查集
d和c的符区别
08 du 命令
Flink 在讯飞 AI 营销业务的实时数据分析实践
仅需一个依赖给Swagger换上新皮肤,既简单又炫酷
正规方程法(Normal Equation)原理以及与梯度下降法的区别
Highlight the secondary and tertiary columns under the primary column of pbootcms
flask 源码启动阶段
It is said that Samsung obtained EUV photoresist from Belgium
FreeRTOS personal notes - Software Timer
My SQL is OK. Why is it still so slow? MySQL locking rules
matlab 短时自相关实现
Thoroughly understand the principle and implementation of service discovery
Matlab draw short-term energy diagram
Just one dependency to give swagger a new skin, which is simple and cool
NPM, NPM Chinese documents, NPM learning and using









