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

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

문제

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)

도움이 되었습니까?
라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top