When I type in an input box, my firefox browser automatically provide suggestions based on whatever I typed in this input box before. With jQuery Autocomplete enabled on this input box, before Autocomplete finish loading its suggestions, browser's suggestion comes first. How can I disable the browser suggestion?
Autofill can be disabled with autocomplete="false".
Use the <input> tag with autocomplete attribute. Set the autocomplete attribute to value “off”.
Preventing autofilling with autocomplete="new-password" If you are defining a user management page where a user can specify a new password for another person, and therefore you want to prevent autofilling of password fields, you can use autocomplete="new-password" .
All you have to do is specify autocomplete="off"
<input type="text" value="" id="searchBox" autocomplete="off">
JQuery Autocomplete automatically adds autocomplete=off, you don't need to do this yourself.
Are you using a browser extenstion that overrides autocomplete=off? If so, it will override this.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With