jKey (JavaScript key shortcut plugin) Issue

Posted by Oscar Godson on Stack Overflow See other posts from Stack Overflow or by Oscar Godson
Published on 2011-01-11T03:45:30Z Indexed on 2011/01/11 4:53 UTC
Read the original article Hit count: 237

Me and a friend are writing a plugin for jQuery that makes it easy for devs to add key shortcuts and we're damn close but no cigar. We're having issues with the key combos. It seems like we are having issues when you call the same selector multiple times on a page.

Try pressing alt+a... youll see it works one time, then gets all mangled up. Anyone know how to fix it? It'll be on github after it's corrected and I'd be happy to add "thank you to" link to whoever can fix this in the header with the copyright info :)

It's nicely documented and i have all the code and stuff here. So... anyone?

http://jsbin.com/azaha4

© Stack Overflow or respective owner

Related posts about JavaScript

Related posts about jQuery