title: Issue with text area key down event using jQuery
body: <p>We're having problems trying to implement a word counter similar to the one on twitter which decrements when the user types in the text field. Unfortunately it's quite glitchy as once you've deleted all the characters via backspace it displays that you only have 84 characters left (unless you hit backspace again). If you it the delete button the counter goes down even when it has removed nothing from the screen at the end of the text(I'm guessing it removes the 'invisible' character that is causing it to say 84 instead of 85 in the example before). All I want if for it to operate like the one on twitter</p>
  
  <pre><code>/* Limit textarea for cancelation policy to 85 characters*/
  
          $('.counter').text(85-($('#txtCpolicy').val().length));
          $('#txtCpolicy').keydown(function(e) {
              var current = $(this).val().length;
              $('.counter').text(85 - ($('#txtCpolicy').val().length));
              if(current &gt;= 85) {
                  if(e.which != 0 &amp;&amp; e.which != 8) {
                      e.preventDefault();
                  }
              }
          });
  </code></pre>
  
  <p>Hope you can help</p>