术之多

  • 首页
  • 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

热门专题

jflow 父子流程设置步骤
web服务器慢 如何排错
oracle 空闲 自动关闭连接
codeblocks 51单片机
js localstorage设置domain
robotframwork ride开发版本2.0b
oracle 11g 统计分析全库
stm32固定时间ad采样
nginx点击劫持配置无效
思科模拟器交换机咋样验证
win7wireshark打开后没有接口
c# itext7 读取pdf
leaflet wkt 转 要素
MAX(DECODE() 的用法
node.js 与npm的作用
CBUE 关闭JTAG 寄存器
百度翻译sign 易语言
selenium 413错误
python qtdesigner 运行时显示cmd框
sql server存储过程例子
Home

Powered By WordPress