开发者

disable spelling assistance in HTML for mobile devices

Is there a way to disable spelling assistance in HTML input fields in BlackBerry 6开发者_如何转开发/Iphone/android?

I tried setting the

autocomplete="off" autocapitalize="false" autocorrect="false" spellcheck="false"

", but doing that unfortunately doesn't seem to disable the autocomplete .

I'm trying to do this because I want to use a custom autocompleter, but the BlackBerry autocompleter keeps getting in the way.

Thanks

Kevin

Any Ideas would be great


Don't use "false", use "off":

<input type="text" id="test" name="keyword" autocorrect="off" autocapitalize="off" autocomplete="off" />


I was just doing this and testing on an iPhone and all of them seem to use "off" except spellcheck needs to be "false."


For blackberry, instead of using input type="text", you can use input type="email". Auto correct is by default off for email in blackberry. This is specially very helpful when application is being build using sencha.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜