Does anyone have an idea on how to integrate http://jqueryui.com/demos/autocomplete/ to determine a URL?
For example, when I type in Kim, it would associate her name with http://www.youtube.com/watch?v=u开发者_StackOverflow中文版LuUOaczxe0. So when I submit the form it will redirect me to that page.
Sure you can.
Download jquery autocomplete and navidate to development-bundle\demos\autocomplete\
in the zip file. There you can find search.php
. There, you may associate your links with your custom keywords.
Hope this helps
精彩评论