How to Auto-Capitalize a text input in phonegap for Android?

android, cordova, html, javascript

Solution

You can use a textarea width height: 22px (or more).

<textarea style="height: 22px" ...></textarea>

Discovered by accident, using ICS with cordova 1.9.0

Problem

Is there a (non hacking) way to set `autocapitalize="on"` (like iOS) in phonegap for Android? If not, is there any way to "auto press" shift after the user focuses on a form field such as `<input ... type="text">`?

Original source