title: Is Keycode for Delete and Dot same using JQuery/Javascript?
body: <p>I am trying to catch keycode for Dot and Delete but on different events.</p>
  
  <pre><code>function validateSomething(eve) {
  var charCode = (eve.which) ? eve.which : eve.keyCode
  if (charCode == 46)
    console.log("Killer Brand")
  }
  </code></pre>
  
  <p>When i press DOT or Delete in textbox; on keypress call above function; the if statement executes on both. Why? How to resolve then?</p>