How to make a dynamic, selectable list under a text field in a webpage (like Googles instant search)

StackOverflow https://stackoverflow.com/questions/8183558

Question

I'm looking for a way to create a dynamic list below a text field on a web page. This list needs to be selectable (by mouse click and arrow-down-key). The selected item shall be in the text-field after selecting it.

It should look and behave like the google instant search.

I did finish the instant serach with this tutorial: http://www.w3schools.com/php/php_ajax_livesearch.asp

The only thing missing now is to make the list selectable and put the selected item in the text field. (after that the list shall disappear)

Était-ce utile?

La solution

Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow
scroll top