title: Get input text value on jQuery keypress event
body: <blockquote>
    <p><strong>Possible Duplicate:</strong><br>
    <a href="https://stackoverflow.com/questions/8795283/jquery-get-input-value-after-keypress">jQuery get input value after keypress</a>  </p>
  </blockquote>
  
  
  
  <p>I'm trying to get an <code>input text</code> value on <code>jQuery</code> <code>.keypress()</code> function. I've seen various examples with keypress and keydown, but not dedicated on getting the input value.
  Is it possible?</p>
  
  <pre><code>$(document).ready(function(){
      $("#my_field").keydown (function (e) {
          alert (e);
      });
  });
  </code></pre>
  
  <p>The returned object has a series of properties but I haven't seen something for value input field attribute.</p>
  
  <p>Is there some way to get it?</p>