<div
toolbar:[{text:'添加',iconCls:'icon-add',handler:function(){alert('点击了添加按钮')}},
{text:'保存',iconCls:'icon-save'}],
buttons:[{text:'确定'},

{text:'取消',handler:function(){$('#dl1').dialog('close')}}]
">
这是对话窗口
</div>

效果:

EasyUI 中点击取消按钮关闭Dialog(对话框窗口)

 

相关文章:

  • 2022-12-23
  • 2022-01-25
  • 2022-12-23
  • 2022-12-23
  • 2021-09-06
  • 2022-12-23
  • 2022-02-25
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2021-08-03
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案