title: keypress with backspace and delete
body: <p>I'm sure all the web developers have encountered a scenario where they needed to check the press of all the characters keys along with backspace &amp; delete.</p>
  <p>For instance, To display an error message as soon as user enters some invalid key. For this, I would continuously listen to some key event to check for the invalid key.</p>
  <p>Since, keypress doesn't work for backspace and delete keys, we use keydown event. But, the problem with keydown event is it would fire the event on all keys including Alt, Ctrl, Tab, etc., the keys for which I don't need to execute the logic for finding out the invalid keys.</p>
  <p>The common workaround to this we use and see is we filter out the non-required keys by checking the keycode.</p>
  <p>So, I wanted to know if there was some other way as in some other key event in order to not list down all the non-required keys in the above scenario?</p>