开发者

How to handle keys on certain area

开发者 https://www.devze.com 2023-03-20 17:17 出处:网络
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_d

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

精彩评论

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