术之多

  • 首页
  • Python
  • Java
  • IOS
  • Andorid
  • NodeJS
  • JavaScript
  • HTML5

$.messager.alert 确认按钮 支持空格键

  • 2024-09-06

让easyui 的alert 消息框中的确定按钮支持空格键

var _messager = $.extend({},$.messager);$.extend($.messager,{ alert:function(title, msg, icon, fn){ var win = _messager.alert.call(this,title,msg,icon,fn); win.on('keyup',function(e){ if(e.which ==32){ win.window('close'); if (fn){ fn(); return false

热门专题

HorizontalListView不能横向滑动
前后端分离验证码保存问题
teradata 日期相减
OpenLayers select取消选择
scss取当前背景色
mavan 仓库有 springboot找不到
Metronic 资源不重复加载
支付宝wap web app pc
QT gdal库读取图像有哪些信息
linux 不能通过ip 访问msyql
gorm动态获取表名
winform reportviewer 发布
select2 百度经验
kafka重新消费7天前的数据
ubuntu系统终端快捷键
keil最简单延迟时间编程
跨站cookie获取
电脑自动清理文件夹中过期文件
Java异常处理获取状态码
pytest-html生成报告中文显示乱码
Home

Powered By WordPress