How to access value passed from autocmplete.('search','thevalue') in the autocomplete search event?
I have a call to the search method
$('myelem').autcomplete('search','thevalue');
and have an event handler for the search event
search: function (e, ui){
var value=?? //need to acces "thevalue" here
}
where I need to access "thevalue" in the body of the function. Is the search method value passed to the search event in some way?
Thanks,
Chris