Longtime LK Lurker here. Dan said: > my sense is that one could hack a visible or non-visible text field > in the dom and give it focus.
I was surprised to get this working on the iPad simulator. JavaScript can invoke the iPad's soft keyboard on a single or multiline <form> element. Example: http://heartofland.com/apps/readRTouch/focustest.html call: document.scratchForm.scratchText.focus(); Might also work outside a <form> element. -Chris p.s. I was surprised because Safari doesn't let JS generate keyboard events. The arrow keys are missing from all iPad/iPhone soft keyboards. This means 98% of HTML5 games are unplayable. Does anyone know how to make iPad/iPhone "hear" keyboard presses via JavaScript? _______________________________________________ lively-kernel mailing list [email protected] http://lists.hpi.uni-potsdam.de/listinfo/lively-kernel
