forked from bpeacock/key-to-charCode
-
Notifications
You must be signed in to change notification settings - Fork 0
Converts jQuery key events to ASCII character codes.
License
mswietochowski/key-to-charCode
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
jQuery getChar takes a key event and returns the ASCII charCode for that event. Example Usage: $(document).keydown(function(e) { var char = $.getChar(e); console.log(char); console.log(String.fromCharCode(char)); }); This will log the character code and it's corresponding string representation.
About
Converts jQuery key events to ASCII character codes.
Resources
License
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published
Languages
- JavaScript 100.0%