Hi folks, I hope that you are doing well and are trying to learn some new things during this quarantine. I have started to write a blog with all th...
For further actions, you may consider blocking this person and/or reporting abuse
I think your just filtering the names array, How to select the name from the list?
You can easily do this by adding the onclick function to the li element and getting its index and get the respective value from the array for that index and saving to your variable
Selecting with mouse seems easy. Most autocomplete interface supports keyboard up/down arrow keys, we need maintain the current selection state somewhere, it does not seem easy to me (I'm a beginner to webdev).
Yes, I tried with some dynamic data coming from the DB, but on click, is not working. May be because of element rendering problem.
anyhow I fixed my problem in my own way.
Thank you.
Nice one, also think about using a datalist, better support and easier in a sense for what you are demo'ing
Nice.
thanx for reading
Very nice Kushal!
thanks for reading
Very cool and easy to implement in projects.
thanks for reading
Nice work. Additionally it would be nice to have it work without being case-sensitive.
Great!!
thnx for reading
What does pure JavaScript mean anyway? No HTML, no CSS, no C++, no node-gyp?
Means that without the use of any library like the react, vue or any framework
Nice article, thanks for sharing! I have build a javascript dropdown plugin, check it out: jsuites.net/v3/dropdown-and-autoco...