JQuery Autocomplete: Submit Form on selection?
UPDATE: I finally figured this one out, the code below should do the trick. For some reason the change callback was not working, but the close & select callbacks do. Using select is better, since close will also be called if the field loses focus. $(function() { $(“#searchField”).autocomplete({ source: “values.json”, select: function(event, ui) { $(“#searchForm”).submit(); … Read more