当前位置:网站首页>easyui的combobox默认选中第一个选项
easyui的combobox默认选中第一个选项
2022-07-26 21:15:00 【reg183】
pmProjectSelect.combobox({
editable:false,
165,
url : ctx + ‘/PmProject/findByProjectMgr’,
//combobox默认选中第一个
onLoadSuccess:function(){
var data = pmProjectSelect.combobox(‘getData’);//获取所有下拉框数据
if (data.length > 0) {
//如果有数据的话默认选中第一条数据
pmProjectSelect.combobox(‘select’,data[0].value);
}
}
});
边栏推荐
- Search eBay product API by keyword
- 仅需一个依赖给Swagger换上新皮肤,既简单又炫酷
- Can I view the history in the "stealth" mode of the secure browser?
- Just one dependency to give swagger a new skin, which is simple and cool
- Altium designer 22 modify the layer properties of the selected component
- Isilon's onefs common operation commands (I)
- 内容管理工具,用蓝色书签就足够
- 七月集训(第26天) —— 并查集
- day07-
- LDAP——实现用户统一登录管理
猜你喜欢
随机推荐
安全浏览器“隐身”模式可以查看历史记录吗?
Altium Designer 22 中文字符乱码
Flextronics responded to the "seizure of Huawei materials" incident: deeply regretted, looking forward to continuing cooperation!
从手动测试,到自动化测试老司机,只用了几个月,我的薪资翻了一倍
flask 源码启动阶段
补充—非线性规划
寻找数字零售的发展新方向,才是保证数字零售可以进入到全新发展阶段的关键
Talk about TCP time_ WAIT
深入源码剖析String类为什么不可变?(还不明白就来打我)
Four solutions of distributed session
JMeter自定义日志与日志分析
内容管理工具,用蓝色书签就足够
测试员:“我有五年测试经验”HR: “不,你只是把一年的工作经验用了五年”
FreeRTOS个人笔记-软件定时器
Leetcode exercise - Sword finger offer II 005. maximum product of word length
方法重载与方法重写
Selenium自动化测试面试题全家桶
《暑假每日一题》Week 7:7.18 - 7.24
Keyword maintenance of dream weaving document doesn't work
七、微信小程序运行报错:Error: AppID 不合法,invalid appid








