Click here to Skip to main content
15,885,366 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
im typing a string in a input elemnt and on each key press i calling ajax to receive a string represent a list of options which i would like to insert to a drop down from the input element where im typing my string. its like google works - someone start writing and on each key click, he receives options undwe where he types. how can i do it? tnx.
Posted

1 solution

I wouldn't recommend reinventing the wheel. Have you tried jQuery UI?

http://jqueryui.com/demos/autocomplete/[^]

Several samples for you to work through there, including remote data sources.

Cheers.
 
Share this answer
 
Comments
fjdiewornncalwe 19-Aug-11 14:26pm    
Exactly what I was thinking. +5

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900