jquery-easyui中创建Dialog
2010-03-08 16:23
513 查看
jquery-easyui中的Dialog是在Window的基础上生成的,可以包括顶部的工具栏和底部的按钮区,这是Dialog的标准布局。
比如,下面的这个对话框:
创建这个对话框是很简单的,看下面的代码:
原文及下载地址:http://jquery-easyui.wikidot.com/tutorial:dlg1
比如,下面的这个对话框:
创建这个对话框是很简单的,看下面的代码:
<div id="dd" style="padding:5px;width:400px;height:200px;"> Dialog Content. </div>
$('#dd').dialog({ title:'My Dialog', iconCls:'icon-ok', toolbar:[{ text:'Add', iconCls:'icon-add', handler:function(){ alert('add') } },'-',{ text:'Save', iconCls:'icon-save', handler:function(){ alert('save') } }], buttons:[{ text:'Ok', iconCls:'icon-ok', handler:function(){ alert('ok'); } },{ text:'Cancel', handler:function(){ $('#dd').dialog('close'); } }] });
原文及下载地址:http://jquery-easyui.wikidot.com/tutorial:dlg1
相关文章推荐
- jquery-easyui中创建Window窗口
- Easyui封装公用创建dialog的JS函数
- 轻松学习jQuery插件EasyUI EasyUI创建树形菜单
- EasyUi常用组件(四)Dialog对话框、创建按钮(Buttons)、创建工具栏(Toolbar)
- jQuery EasyUI API 中文文档 - 对话框(Dialog)
- jQuery EasyUI API 中文文档 - 对话框(Dialog)
- jQuery UI Dialog 创建友好的弹出对话框
- jquery-easyui中为DataGrid创建复杂表头
- jQuery UI Dialog 创建友好的弹出对话框实现代码 详细出处参考:http://www.jb51.net/article/30087.htm
- jquery easyui dialog问题
- asp.net mvc+jquery easyui开发实战教程之网站后台管理系统开发4- 后台模板html页面创建
- jquery-easyui中创建SplitButton
- jquery easyui dialog的几个使用问题
- jQuery EasyUI API 中文文档 - Dialog对话框
- jquery easyui dialog的几个使用问题
- jQuery前端框架easyui使用Dialog时bug处理
- jquery.util.easyui.dialog
- EasyUI动态创建、删除模态Dialog
- jquery-easyui中创建异步加载树