title: How can I disable the key in second time press same in jQuery?
body: <p>When press first time 37 it showing alert message, again press the same key second time I want to disable that key. How can do that?</p>
  
  <pre><code>$(document).on (‘keydown’ , function (e){
  var userVal = e.which ∥ e.keycode
  valadation (userVal)
  
  })
  
  function valadation (userVal){
  if (37 == userVal){
  alert (“Wecome”)
   }
  }
  </code></pre>