在我的网站上实施自动完成 [英] implementing autocomplete in my website

查看:162
本文介绍了在我的网站上实施自动完成的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在开发一个网站,我打算提供搜索功能。我正在开发它的PHP / MySQL和我写了执行搜索的脚本。我想提供在用户键入搜索框自动完成或建议的搜索选项,我能知道什么是我的选择,我怎样才能让他们使用?

i am developing a website where i intend to provide the search feature. I am developing it in PHP/MYSQL and i have written the script to perform the search. I wish to provide autocomplete or suggested searches option in the search box as the user types, can i know what are my choices and how can i make use of them?

我试过YUI自动完成,这对我来说很好,但是当它说,使用数据源的本地代理我不明白。任何一个可以帮助我在这里?

I had tried YUI Autocomplete, it looks good to me, however i do not understand when it says using a local proxy for the datasource. Can any one help me out here?

推荐答案

考虑尝试 Scriptaculous的自动完成。这是很容易实现。

Consider trying the Scriptaculous autocomplete. It's very easy to implement.

这篇关于在我的网站上实施自动完成的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆