[Solved] how to limit the auto complete using jquery [closed]
Here is a related question with a fiddle : http://jsfiddle.net/andrewwhitaker/vqwBP/ Limit results in jQuery UI Autocomplete $(“#auto”).autocomplete({ source: function(request, response) { var results = $.ui.autocomplete.filter(myarray, request.term); response(results.slice(0, 10)); } }); P.S: Please, next time describe your problem, format JS script to be readable solved how to limit the auto complete using jquery [closed]