Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

jquery autocomplete set suggestion length

$("#auto").autocomplete({
    source: function(request, response) {
        var results = $.ui.autocomplete.filter(myarray, request.term);

        response(results.slice(0, 10));
    }
});
 
PREVIOUS NEXT
Tagged: #jquery #autocomplete #set #suggestion #length
ADD COMMENT
Topic
Name
5+8 =