Limit results in jQuery UI Autocomplete

Here is the proper documentation for the jQueryUI widget. There isn't a built-in parameter for limiting max results, but you can accomplish it easily: $("#auto").autocomplete({ source: function(r... Read More

Google Autocomplete - enter to select

You can use preventDefault to stop the form being submitted when enter is hit, I used something like this: var input = document.getElementById('inputId'); google.maps.event.addDomListener(input, 'k... Read More

autocomplete - Is it useful to show images in auto-suggestions?

There is probably no rule of thumb which covers whether student photos need to be displayed in quiz apps autosuggestions. There are rules of thumb which say that it's best to provide helpful and rele... Read More

javascript - Google Maps API - how to get latitude and longitude from Autocomplete without showing the map?

You can use the code below. <script src="" type="text/javascript"></script> <script type="text/javascript"> function initialize() {... Read More

usability - Autocomplete returns more than X records

If you are providing an autocomplete field, you are helping your users find information in a long list quickly. Pagination of results obviously doesn't improve the UX because flipping through pages i... Read More

forms - How to tell the user that an input box is autocomplete-enabled?

Show a downward arrow in the box that implies it's a drop-down. Then, perhaps, supplement it with some small help text. That's how Atlassian JIRA solves the problem and it works quite well:... Read More

Facebook style JQuery autocomplete plugin I just had a go at this one and it was really easy to implement using an page to output the JSON (from the search params) Then theres just a few lin... Read More

Is missing match in autocomplete feature counter-intuitive?

Yes! It is counter-intuitive; which is why any website that allows user names with single character should begin the check from first letter a user types. It's similar to what Twitter does: ======... Read More

javascript - Google maps Places API V3 autocomplete - select first option on enter

Here is a solution that does not make a geocoding request that may return an incorrect result: It simulates a down-arrow keypress whenever the user hits return... Read More