devbridge/jQuery-Autocomplete — pull request #47 by gedbac (2013-02-18 14:43:14+00:00)
Title: Parameters were passed to method 'onSearchStart'

We need to add extra parameter to search criteria:

$('#Origin_Value').autocomplete({
serviceUrl: '/Rate/FindCity',
deferRequestBy: 300,
minChars: 3,
maxHeight: 250,
width: 161,
zIndex: 9999,
onSelect: onOriginChanged,
onSearchStart: function (context) {
context['countryId'] = 1;
}
});