js
来源:互联网 发布:mac的绝对路径 编辑:程序博客网 时间:2024/05/16 11:43
on delegate live bind 都可以做到
document.onkeydown = function (e) {
var isie = (document.all) ? true : false;
var key;
if (isie) {//IE浏览器
key = window.event.keyCode;
ev = window.event;
} else {//火狐浏览器
key = e.which;
}
if (key == 13) {//IE浏览器
if (document.getElementById("ModelLayout") != null) {
document.getElementById("lok").click();
}
}
}
$('body').on('click', '.ModelLayout .okBtn', function () {
$('.ModelLayout').remove();
})
if(navigator.appName.indexOf("Explorer")>=0)return true;if(navigator.appName.indexOf("Netscape")>=0)return false
- js
- js
- JS
- JS
- JS
- js
- js
- js
- js
- js
- JS
- js
- JS
- js
- js
- js
- js
- JS
- [Jquery]CheckBox相关操作
- 打卡:10 perl string
- 如何判断是手机还是电脑在访问网站
- Swift 闭包(六)
- TestNG Junit报告
- js
- 舞钢大业王恒:强迫储蓄效应
- NumberFormat和DecimalFormat
- 第一章 Spring MVC 4概述
- 当前标识(IIS APPPOOL\ASP.NET v4.0)没有对“C:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Fi
- 打卡9:perl grep/map
- IOS总结_IOS文件系统
- c++ 11多线程
- 中国海外代购抗癌药为何屡禁不绝?