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.

Daniel Iser is a professional WordPress plugin developer, and the author of plugins such as Easy Modal & Popup Maker. Founder of Wizard Internet Solutions he has been working with WordPress for over 7 years creating websites and tools for clients & blog authors.

Follow on:

Leave a Comment

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