开发者

How to handle keys on certain area

I wan to ask you, how to handle keys on certain area with this library http://www.openjs.com/scripts/events/keyboard_shortcuts/ It's shown only with documen开发者_JAVA百科t, and when i try '#dmine_div' it does not work.How it must be ?


A quick look at the source for shortcut.js shows that selectors are not supported and the default document.getElementById(target) is called. try to pass 'dmine_div' as the argument for target

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜