title: Java script to detect Enter key press in Mobile App
body: <p>i wanna get key code of buttons with java script and it works just fine in IOS and PC (when i press button it gives me the key Code of the button) but it not works with android..
  how can i make it work with android too?</p>
  
  <pre><code>function keydownFunction(event) {
    if (event.keyCode &gt;= 65 &amp;&amp; event.keyCode &lt;= 90){
      console.log(event.keyCode);
    }
  }
  
  window.addEventListener("keydown", keydownFunction);
  </code></pre>