简体   繁体   English

jQuery / JS文本输入选择

[英]jQuery/JS Text input select

I'm searching for a jQuery or simple, old-school JavaScript script which makes text input fields behave like on this picture: 我正在搜索jQuery或简单的老式JavaScript脚本,该脚本使文本输入字段的行为类似于此图片:

在此处输入图片说明

There was a few days ago a link on twitter to such a plugin but I wasn't able to find it again (with Google, Browser History, Twitter-Search etc.). 几天前,Twitter上有一个指向此类插件的链接,但我无法再次找到它(使用Google,浏览器历史记录,Twitter-搜索等)。

Have you taken a look at jQuery UI's Autocomplete ? 您是否看过jQuery UI的自动完成功能 The styling can be easily achieved using CSS. 使用CSS可以轻松实现样式。

Here, this'll help you to get started. 在这里,这将帮助您入门。

Facebook style input box Facebook风格输入框

这是我的最爱(它是一个jQuery插件): http : //documentcloud.github.com/visualsearch/

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM