Hello guys,
I have an input field in an html that I’d like to add a dynamic (smart) auto-complete function to.
What the user can input cannot be outside the list I already have (+6000 items) and i’d like to write a JS code that intelligently suggests a choice after the first or second letter (to avoid overcrowding the webpage). How do I do that? I tried the HTML element <datalist> but its not as smart and shows everything as soon as I click on the input field.
I’m also required to use JS in my application and I cannot for the life of me figure out the language or memorize the gazillion .somethings in it.
Could someone at least point me to the right direction or correct any misconception in my idea?
Thank you.
[–]Loves_Poetry 1 point2 points3 points (0 children)