autocomplete - how to change limit of results?
hi erveryone.
I use jquery autocomplete plugin in that way:
-
$("#autotest").autocomplete('mysearch.php', {
width: 300,
multiple: true,
matchContains: true,
formatItem: formatItem,
formatResult: formatResult
});
my phpscript returns more that 10 items. but with autocomplete I always get 10 items.
How can I change that limitation?
I found in jquery documentation that the parameter "max" can be used. But that doesn'T work for me.
from jqery documentation:
"max": Limit the number of items in the select box. Is also sent as a "limit" parameter with a remote request.
How can I change the "limit"-Parameter?