Browse files

corrected the link to the github project

  • Loading branch information...
1 parent 0b2b3aa commit 821ec6133a0d312011b59e3b296e20a33c4a681f @joshk committed Apr 25, 2010
Showing with 4 additions and 4 deletions.
  1. +4 −4 README.md
View
8 README.md
@@ -1,15 +1,15 @@
#About
-**jQuery Hotkeys** is a plug-in that lets you easily add and remove handlers for keyboard events anywhere in your code supporting almost any key combination.
+**jQuery Hotkeys** is a plug-in that lets you easily add and remove handlers for keyboard events anywhere in your code supporting almost any key combination.
-This plugin is based off of the plugin by Tzury Bar Yochay: [jQuery.hotkeys](http://github.com/tzuryby/hotkeys)
+This plugin is based on the plugin by Tzury Bar Yochay: [jQuery.hotkeys](http://github.com/tzuryby/jquery.hotkeys)
The syntax is as follows:
$(expression).bind(types, keys, handler);
$(expression).unbind(types, handler);
-
+
$(document).bind('keydown', 'ctrl+a', fn);
-
+
// e.g. replace '$' sign with 'EUR'
$('input.foo').bind('keyup', '$', function(){
this.value = this.value.replace('$', 'EUR');

0 comments on commit 821ec61

Please sign in to comment.