So I want to use this plugin http://docs.jquery.com/Plugins/autocomplete
I want to retrieve all the user names from database using codeigniter then store them in a var in javascript (If this is a good way) then use it in autocomplete. Also, I want the user if he/she enters any other text it wont be accepted, it has to be already stored in database only.
Thanx in advanced :)