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.

Leave a Comment