Do you know of any script which can do stuff like Google does?

What I want is this.

1) I have text box
2) User comes in and starts entering text in the text box
3) with each change it goes to database, search for records (say Name starting with that text)
4) Then it returns the record and displays as a LIST
5) User selects the record

Is there any script available to do that?