javascript 移动网络应用程序的自动完成

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/6545279/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-10-25 21:01:04  来源:igfitidea点击:

Autocomplete for mobile web apps

javascriptmobileautocomplete

提问by Bartosz Stankiewicz

Possible Duplicate:
Getting jQueryUi Autocomplete to work with jQueryMobile

可能的重复:
让 jQueryUi 自动完成与 jQueryMobile 一起使用

Is there a out of the box solution (examples) for autocomplete for "mobile" web apps like for iphone, android 2.1+ devices,...

是否有开箱即用的解决方案(示例)用于“移动”网络应用程序的自动完成,例如 iphone、android 2.1+ 设备、...

采纳答案by Troy SK

Using a normal jQuery library should work. Smashing Magazine had a good article on how to implement it in the best way forward.

使用普通的 jQuery 库应该可以工作。Smashing Magazine 有一篇关于如何以最佳方式实施它的好文章。

http://www.smashingmagazine.com/2011/04/27/tap-ahead-design-pattern-mobile-auto-suggest-on-steroids/?utm_source=twitterfeed&utm_medium=twitter

http://www.smashingmagazine.com/2011/04/27/tap-ahead-design-pattern-mobile-auto-suggest-on-steroids/?utm_source=twitterfeed&utm_medium=twitter

回答by Ben

I have recently completed a mobile web app which uses the standard autocomplete function rolled into jQuery UI -- works well.

我最近完成了一个移动网络应用程序,它使用了 jQuery UI 中的标准自动完成功能——效果很好。

回答by Michiel Overeem

Take a look at this plugin for instance: jquery autocomplete

看看这个插件,例如:jquery autocomplete