2012年4月28日
摘要: 使用时直接调用:jQuery(document).bind('keydown', 'k',function (evt){ //此处写按快捷键执行的函数代码 });完整代码如下:/* * jQuery Hotkeys Plugin * Copyright 2010, John Resig * Dual licensed under the MIT or GPL Version 2 licenses. * * Based upon the plugin by Tzury Bar Yochay: * http://github.com/tzuryby/hotkeys 阅读全文
posted @ 2012-04-28 15:41 非著名博客 阅读(1922) 评论(2) 推荐(1) 编辑