Hi, Good day! I have a jquery code for autocomplete list but I notice that only 10 records display. How can I make it more? $().ready(function() { $("#work_data").autocomplete("get_work_list.php", { width: 300, matchContains: true, mustMatch: true, selectFirst: false }); $("#work_data").result(function(event, data, formatted) { $("#work_data").val(data[1]); }); }); Code (markup): Thank you
With nothing but a out of context snippet of code I would guess that the control is in the php script get_work_list.php so you probably need to modify that code to either give you and option, or at least change it to the number you need.
The php looks like it processes all the records it gets from the query. If there is a limit specified on the query, that would explain the behavior and be an easy fix. As for the jquery... that is a third party pluging, and I don't dig through those because 90% of them are trash written by 3rd-rate developers. I suggest the place to get the answer you need is from the author.