Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    text
    copied!<p>you have to:</p> <ul> <li>give an id to your form</li> <li>catch the "done" event under opera mobile, which I'm afraid I don't know the name</li> <li>get the form with its id and call its <code>submit()</code> method in the <code>done</code> event.</li> </ul> <p>Regarding to the event, I found out some informations:</p> <p>Opera developers website:</p> <blockquote> <p>Opera Presto has full support for DOM 2 Events with no exceptions.</p> </blockquote> <p><a href="http://www.opera.com/docs/specs/presto2.11/dom2/events/" rel="nofollow">http://www.opera.com/docs/specs/presto2.11/dom2/events/</a></p> <p>w3c:</p> <blockquote> <p>6.1.2.4 Virtual Keyboards and Chording Keyboards</p> <p>Virtual keyboards are software-based sets of keys, in a variety of different arrangements, commonly found on touch-screen devices; they are often modal, with the ability to switch between different dynamic sets of keys, such as alphabetic, numeric, or symbolic keys. Because of the lack of physical constraints, these keyboards may present the widest range of characters, including emoticons and other symbols, and may have keys not represented by Unicode [Unicode] or by the key values set defined in this specification. Wherever possible, however, virtual keyboards should produce the normal range of keyboard events and values, for ease of authoring and compatibility with existing content.</p> </blockquote> <p><a href="http://www.w3.org/TR/DOM-Level-3-Events/" rel="nofollow">http://www.w3.org/TR/DOM-Level-3-Events/</a></p> <p>Basically it doesn't say anything about specific touch events, unlike under webkit technologies. So, you will have to catch the keypress/up/down, parse the keyCode/which attribute, compare to the one of "DONE" (some alerts will give you the good one) and then call the <code>form.submit();</code> method.</p> <p>rgds.</p>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload