1

I am using autocomplete jquery-ui plugin on jquery mobile framework. This setup is working great on all mobile devices but the Blackberry platform. The watermark is showing correctly so I know javascript is enabled and working however when a user starts typing it appears that Blackberry is over-riding and showing its own autocomplete/fill text options, when a user selects the jquery plugin is not firing.

On a desktop browser I can paste text and it works fine. It appears to be related to Blackberry mobile devices only.

Ideas on how to disable through code Blackberry autofill functionality?

thx

4

2 回答 2

0

You can set the autocomplete="off" attribute on the input tag:

<input autocomplete="off" .../>

Source: http://davidbcalhoun.com/2010/using-mobile-specific-html-css-javascript

于 2012-04-09T20:37:50.633 回答
0

你可以试试这个:

<input autocomplete="off" .../>

但它不适用于(某些?)黑莓设备。他们忽略了属性。一种可能的解决方法/hack 是将输入类型设置为“电子邮件”,因为它们在 bb 上从来没有自动更正。

通过:为移动设备禁用 HTML 中的拼写帮助

于 2014-03-07T16:38:01.393 回答