I having a autosuggest textbox with some values.
while typing a first letter into the text box it shows all the related values of the text in dropdown.
I want to limit the displaying related values to 20?..
my code look like this,
$("#input_id").autoSuggest(data.items, {
selectedItemProp: "tag",
searchObjProps: "tag",
selectedValuesProp: "id",
startText: "",
keyDelay: 50,
minChars: 1,
asHtmlID: "input_id",
preFill: [ ]
});
Try this code
retrieveLimit:20, Documentation Here