摘要: IE中:document.body.clientWidth ==> BODY对象宽度document.body.clientHeight ==> BODY对象高度document.documentElement.clientWidth ==> 可见区域宽度document.documentEleme... 阅读全文
posted @ 2013-11-27 17:53 webnote 阅读(358) 评论(0) 推荐(0) 编辑
摘要: 一。用到onkeydown获取事件动作,二。用到键盘对应代码keyCode,三。 var event=arguments.callee.caller.arguments[0]||window.event;//消除浏览器差异,代码如下:XML/HTML代码JS获取回车时间(兼容各浏览器) keyc... 阅读全文
posted @ 2013-11-27 17:46 webnote 阅读(355) 评论(0) 推荐(0) 编辑