i am using Ajax Autocomplete for Jquery ( http://www.devbridge.com/projects/autocomplete/jquery/ ) in one of my application. The Search Form looks something lik
Ajax Autocomplete for Jquery
Might be an old question, but I feel that here's the best way to do it:
$('#q').autocomplete({ ... onSearchStart: function(q) { q.entity_type = $('#top_search_select').val(); } ... });