Cjuiautocomplete Problem

I try to make an example to use CJuiAutoComplete like below but it’s not working, can someone tell me how to fix it ?

thank you

$this->widget('zii.widgets.jui.CJuiAutoComplete', array(


    'source'=>array('ac1', 'ac2', 'ac3'),









After trying to find out the problem i figured out that there is a javascript error saying :

typeError: b.element.propAttr is not a function

but I don’t know how to fix it ? any help please.