1 2 3 4 5 6 7 8 9
$(document).ready(function() { var a; a = $("#search-text").autocomplete({ serviceUrl: baseurl + '/search_ac', minChars: 2, width: 350, }); });