Create templates to quickly answer FAQs or store snippets for re-use.
This is a great article; its good to see this implementation in Vanilla JS. But i'd like to know the reason why you are testing for this condition in your JS file
Thanks for spotting that. There's actually no reason for that in the example.
It was specific code for a project.
Thank you! I need to do an autocomplete form and I had no idea where to start! 🔑
I'm really happy that this helped
this saved my day... thanks a lot
I've made this after reading you tutorial, github.com/simo97/Nefertiti,
it is moslty for the case you already has an existing app with , the goal here is to turn them into lightweight autocomplete input. No dependencies, plain vanilla js, based on as you teach me.
thanks it save me from a lot of refractoring on my current project.
That's great! Thanks for the feedback. I'll check your project out.
Great post - datalist is a really powerful addition to HTML5 that I was not aware of.
This is exactly what I've been looking for, so thanks for posting! I am getting a host of issues, however, and I'm a bit of a newbie with some of this (especially php) so I'm not sure what the wrench in the gears is here...
In Chrome: Failed to load file:///C:/query.php?query=N: Cross origin requests are only supported for protocol schemes: http, data, chrome, chrome-extension, https.
In Chrome with web server:
Uncaught SyntaxError: Unexpected token < in JSON at position 0
at JSON.parse ()
at XMLHttpRequest.window.hinterXHR.onreadystatechange (index.js:35)
In Firefox: NS_ERROR_DOM_BAD_URI: Access to restricted URI denied
Thanks for this awesome article... it was really helpful
This is a great article.
Thanks for this! I'm trying to write a React component that does the same, this will be a huge help.
Awesome Awesome Post
Hi! Great article!
It's worth to mention that this will not work as intended on iOS devices, the dropdown will not show.
how to make it work only with the initials of each word.
We're a place where coders share, stay up-to-date and grow their careers.
We strive for transparency and don't collect excess data.