By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
431,731 Members | 1,104 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 431,731 IT Pros & Developers. It's quick & easy.

auto complete input text box

P: 1
i wanted to know about the working of an auto complete in text box so that when i enter some value in a text box the related values are choosen from the database and then displayed as suggestion for the user
Jul 16 '12 #1
Share this Question
Share on Google+
2 Replies


P: 75
do you try to use on key event ? when you put the 3th character on the text box it will search for the same value in the database?
Jul 16 '12 #2

Rabbit
Expert Mod 10K+
P: 12,364
Use the keypress event in javascript to make an AJAX call to your database.
Jul 16 '12 #3

Post your reply

Sign in to post your reply or Sign up for a free account.