title: Jquery.Hotkeys behaviour
body: <p>I am a fairly decent javascript programmer, but do not have a deep understanding of the DOM, this question should be fairly simple for any good programer, I hope.</p>
  
  <p>I am trying to use the Jquery.Hotkeys lib. here's what I noticed:</p>
  
  <p>if I do:</p>
  
  <pre><code>$(document).ready( function(){
  $(document).bind('keydown', 'ctrl+q', alertworld);
  });
  </code></pre>
  
  <p>It works perfectly. but when I do</p>
  
  <pre><code>$(document).bind('keydown', 'ctrl+q', alertworld);
  </code></pre>
  
  <p>It binds every single keydown press to the alertworld function. I just want to understand why it behaves so. I imagined it should work just fine in the second code example. Please help. thanx in anticipation</p>