title: Keyup input not getting value
body: <p>I'm trying to write a small script so whenever the user inputs some text on the webpage it will get me the value instantly. Unfortunately the Keyup() JQUERY function is returning no value when I try to test it.</p>
  
  <pre><code>$(document).ready(function() {
      $(document).keyup(function() {
          var command = $(this).val();
          alert(command);
      });
  });
  </code></pre>
  
  <p>The alert shows no text what-so-ever and i'm unsure why?</p>