jQuery UI Autocomplete: Tabbing before results are available.

While working on a plugin of mine using jQuery UI Autocomplete i ran into an issue where sometimes users enter the value and tab out of the field before jQuery UI can make a match. This is an issue when you are setting the value of a hidden field. This allows you to fill the hidden field properly when this happens by searching the source for a match.

This can work with an AJAX source as well but you would instead simply send the entered value looking for a match.

I am a founder & CEO of Code Atlantic and I've been working with WordPress for over 15 years creating plugins to help WP site owners grow for more than 10 of those. We have developed and maintained popular plugins including the best wordpress popup plugin, Popup Maker with over 4k 5 star reviews, as well as Content Control, Ahoy & User Menus.

Follow on:

Leave a Comment





This site uses Akismet to reduce spam. Learn how your comment data is processed.