easyui中下拉菜单默认显示值处理
2016-06-06 17:56
323 查看
//投资总额
$("#touZiZongEDanWeiAA").combobox({
valueField: 'dictionaryCode',
textField: 'name',
data:[{'name':'万美元','dictionaryCode':'10150002'}],
value:"10150002"//默认显示值
});
//外方出资
$('#waiFangChuZiJinE').numberbox({
required: true
});
$('#waiFangChuZiJinEDanWeiAA').combobox({
data:[{'name':'万美元','dictionaryCode':'10160002'}],
required: true,
value:"10160002"
});
//注册资本
$("#zhuCeZiBenBiZhongAA").combobox({
valueField: 'dictionaryCode',
textField: 'name',
data:[{'name':'万美元','dictionaryCode':'10180002'}],
value:"10180002"
});
//投资总额
$("#touZiZongEDanWeiAA").combobox({
valueField: 'dictionaryCode',
textField: 'name',
data:[{'name':'万美元','dictionaryCode':'10150002'}],
value:"10150002"//默认显示值
});
//外方出资
$('#waiFangChuZiJinE').numberbox({
required: true
});
$('#waiFangChuZiJinEDanWeiAA').combobox({
data:[{'name':'万美元','dictionaryCode':'10160002'}],
required: true,
value:"10160002"
});
//注册资本
$("#zhuCeZiBenBiZhongAA").combobox({
valueField: 'dictionaryCode',
textField: 'name',
data:[{'name':'万美元','dictionaryCode':'10180002'}],
value:"10180002"
});
相关文章推荐
- easyui------显示隐藏列功能
- 如何使用jquery easyui创建标签组件
- jQuery寻找n以内完全数的方法
- 推荐10个2014年最佳的jQuery视频插件
- C#实现绑定Combobox的方法
- jquery+CSS3实现淘宝移动网页菜单效果
- 采用easyui tree编写简单角色权限代码的方法
- jQuery实现本地预览上传图片功能
- ComboBox 和 DateField 在IE下消失的解决方法
- MFC之ComboBox控件用法实例教程
- jquery实现触发时更新下拉列表内容的方法
- WinForm实现为ComboBox绑定数据源并提供下拉提示功能
- C# ComboBox的联动操作(三层架构)
- 基于jquery中children()与find()的区别介绍
- 了解jQuery技巧来提高你的代码(个人觉得那个jquery的手册很不错)
- 轻松学习jQuery插件EasyUI EasyUI实现拖动基本操作
- 基于jQuery实现网页打印功能
- jQuery Easyui 验证两次密码输入是否相等
- easyui window refresh 刷新两次的解决方法(推荐)
- Extjs4.0 ComboBox如何实现三级联动