title: Android done/go/enter does not fire any DOM event in Cordova
body: <p><strong>The Issue:</strong></p>
  
  <p>Using </p>
  
  <pre><code>&lt;input id="my_tel" type="tel" onkeypress="alert(event);"/&gt;
  
  &lt;input id="my_num" type="number" onkeypress="alert(event);" /&gt;
  </code></pre>
  
  <p>The issue is that pressing done or enter or go key in android, nothing happens.For all other keys it works fine. When i tried to alert what event is being fired <strong>i found none</strong>.
  The keypad does not hide (which is very sad) on pressing go/enter/done button.</p>
  
  <p>However using </p>
  
  <blockquote>
    <p>input type="text"</p>
  </blockquote>
  
  <p>the issue does not exist.</p>
  
  <p>Here is what i tried :</p>
  
  <blockquote>
    <p>A. Used input type="text" and do not allow user to enter anything except
    numbers.</p>
    
    <p><strong>Problem with this approach</strong> : The user is always presented with the default textual keyboard, and she/he has to switch, from default text to number pad,
    which is not elegant and a turn off as i have many such pages in my project.</p>
    
    <p>B. Used events like '<em>touchstart</em>'and '<em>touchend</em>' but no luck.</p>
    
    <p>C. The input box is not even losing focus on key press so the solution
    <a href="https://stackoverflow.com/questions/9233434/html-phonegap-android-numeric-soft-keyboard-has-next-instead-of-go-button/10017095">html phonegap android : numeric soft keyboard has next instead of go button</a> is not useful.</p>
  </blockquote>
  
  <p><strong>Possible solution :</strong></p>
  
  <p>We can use the SoftKeyBoard plugin (<a href="https://github.com/phonegap/phonegap-plugins/tree/master/Android/SoftKeyboard" rel="nofollow noreferrer">https://github.com/phonegap/phonegap-plugins/tree/master/Android/SoftKeyboard</a>). And hope that this problem is solved by this. But seriously can't there be a better solution??</p>
  
  <p><strong>Note</strong> : The problem is <strong>not observed in the iOS app</strong>,just android. </p>
  
  <p><strong>Another Note</strong> : No DOM event is fired even on pressing  backspace key, but atleast the the backspace key is doing its job. In my case the done/go/enter key does not seem to execute its default behavior.</p>