Cjuiautocomplete After Ajax

hi, CJuiAutoComplete widget doesnt work after ajax render partial. tell me pls how can i fix it. Thx

Not sure the what the exact problem is but here are my thoughts.

When the CJuiAutoComplete widget is first created on your page, the widget adds a call to JQuery UI autoComplete method and this method is executed after the page is loaded on the browser. This causes the autocomplete box to initialize correctly - first time.

When you load part of the page using a ajax request, the autocomplete box is added to the page correctly but the JQuery UI autocomplete method is probably never called. So you have to call this method manually on the JQuery selector for the textfield after the ajax load is complete.

Thanks

Indra