Q:

Javascript - get list from db on input

It's like to filter in real time.  Each time the user insert a character in the input box, it checks in the database and returns if there is a value close to what the user inserted, then it makes a list with all close values returned from db. 
Is it possible using Javascript?  I think it will become too slow and I need the best performance, the app need to stay fastest as possible.  I already tried using ajax (using Javascript/PHP) but that is not a good idea, tooo slow... I was thinking about node.js, what do you think?  Any ideas? 
I need to combine two input boxes too, to get close results from different columns in db. 
Sorry about my english. 

A:

You can try to use the idea from Google
Check this Already answered Stack over flow Question:
how google autocomplete works

