4

I devise a web site. I am using PHP, XML and HTML. There is input forms in my HTML files and I want to implement auto-suggestion in input forms. When you enter search phrase to google's input form, many suggestions appeared in your browser. I exactly want to implement this.

What must I do? Which language/interface/information I need to?

thanks in advance.

3 Answers 3

2

Autocomplete is done via JavaScript. Check out the jQuery Autocomplete plugin for a pretty easily library to get started with. You can either include the values to be used for autocomplete in the JavaScript, or you can make an AJAX request to a PHP script which provides suggestions. Feel free to comment if you'd like more help.

Sign up to request clarification or add additional context in comments.

Comments

0

This will be the easiest way to get it done...

http://jqueryui.com/demos/autocomplete/

Comments

0

JQuery UI is a javascript framework that has a nice autocomplete implementation: http://jqueryui.com/demos/autocomplete/

Of course you will need the jquery and jquery ui javascript frameworks.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.