I am developing a web page which has a requirement of many autocomplete textboxes. As I am new to javascript, it is very tough for me to make my own autocomplete textbox. So I have searched many examples from the internet, but they only work for a single textbox. This means I cannot use the same js file to make another autocomplete textbox. I didn’t find any such examples on stackoverflow either. Can someone help me in this?
I am developing a web page which has a requirement of many autocomplete textboxes.
Share
Use JQuery with the AutoSuggest plugin.
http://docs.jquery.com/Plugins/autocomplete
Include the JS libraries (see the documentation above), then do this in HTML:
Then add an Autocomplete to the CSS-class in your Javascript: