title: How do I trigger onsubmit() events for simple forms in Opera Mobile with a virtual keyboard?
body: <p>I have a small application that normally has a single visible text input, and pressing enter triggers a JavaScript method without triggering the normal form submission. Here is a very simple test case:</p>
  
  <pre><code>&lt;form onsubmit="document.write('form submitted!');return false"&gt;
      &lt;input type="text"&gt;
      &lt;input type="submit" style="display:none"&gt;
  &lt;/form&gt;
  </code></pre>
  
  <p>On desktop browsers this works as expected - you enter text, press enter, and the script executes. </p>
  
  <p>However, on Opera Mobile focussing on the text input brings up a virtual keyboard; if you enter text and touch "Done", the text is transferred to the input field, but the form is not submitted. There is also no "enter" </p>
  
  <p>I'd like the app to behave the same way across browsers and devices, rather than make the submit button visible only in Opera Mobile.</p>