title: .keypress on a DIV tag?
body: <p>Is there a way to get work .keypress on a div element like this?:</p>
  
  <pre><code>&lt;html&gt;
  &lt;body&gt;
  
  &lt;script type="text/javascript"&gt;
  &lt;!--
  
  $('#idtext').keypress(function(event) {
    var keyCode = event.keyCode;
    $('#idtext').text(function(i, text) {
  
     return text + String.fromCharCode(keyCode); 
  
    });
  
  });
  
  // --&gt;
  &lt;/script&gt;
  
  &lt;div id="idtext"&gt;&lt;/div&gt;
  
  &lt;/body&gt;
  &lt;/html&gt;
  </code></pre>