摘要: jQuery中对键盘事件进行了修正 调用函数的时候传入事件即可。 通过事件的which可以找到键码 不过当有组合键的时候还需要注意一下 如ctrl+enter键,虽然都是用e.ctrlKey但是 enter键的键码不是始终为13了 在ff中 判断 ctrl+enter 是 e.ctrlKey && e.which ==13 在ie6中 判断ctrl+enter 是 e.ctrlKey && e.w... 阅读全文
posted @ 2009-01-22 11:23 cfanseal 阅读(2691) 评论(1) 推荐(0) 编辑