implementing autocomplete in my website

旧街凉风 提交于 2019-12-11 16:58:47

问题


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?

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?


回答1:


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




回答2:


what does it exactly say on the documentation? (can you provide a link)

by local proxy I would think it means a proxy to a remote web service or API on another domain. (you can't make requests unless scripts are executed on the same domain). http://developer.yahoo.com/javascript/howto-proxy.html




回答3:


I used jQuery autocompletex



来源:https://stackoverflow.com/questions/1118782/implementing-autocomplete-in-my-website

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!