I have a web application that uses a div that is not contentEditable. Instead, when the div is focused, I process key presses and insert / delete / update the innerHTML myself, essentially simulating a contentEditable div.
I don't care if it's necessarily with javascript, but I need a way to trigger the iOS keyboard from a web app.
I've tried floating an invisible text area over the div, and when it's focused, I hide the text area and shoot focus to the div. This works, but as soon as the non-contentEditable div is focused, the keyboard disappears. Note that this trick worked until iOS 5.
There has to be a way to trigger the iOS keyboard after user interaction in a web app, even if we're not on a text element. Any ideas?