title: Unregistering from the JQUERY Keydown event
body: <p>I am trying to remove the keydown event that I have created using the following code:</p>
  
  <pre><code>$(document).keydown(function(e) {
      alert("Key Down");
  });
  </code></pre>
  
  <p>when I am using the following code:</p>
  
  <pre><code>$(document).off('keydown');
  </code></pre>
  
  <p>it throws the following error:</p>
  
  <pre><code>Uncaught TypeError: Object [object Object] has no method 'off'
  </code></pre>
  
  <p>can someone point me to the correct way to un-register from the <code>keydown</code> event?</p>