JQUERY Autocomplete with multiple sources
Hi,
Is there a way to specify multiple sources (2 ajax requests) for JQUERY AutoComplete plugin?
Both requests should bind and show the results when they return from the server asynchronously.
$(".autocomplete").autocomplete({
source: function (request, res) {
request 1 : $.ajax({}); //show the results in autocomplete when results are returned
request 2 : $.ajax({}); //show the results in autocomplete when results are returned
..
..
..
},
minLength: 1
});
Thanks