I used that code for autocomplete. but i got major error. the error is when autocomplete method called, the whole page will be
refersh. i found why the page will be refreshed. i used mode=("ajax" or "cachedAjax") that's why doing like that. but In my application , i need to use "ajax" or "cachedAjax" mode only. So i need to avoid the whole page will be refersh,when autocomplete method load.