I include jquery-ui 1.9.2 in my page. But autocomplete doesn’t work.
The error is "TypeError: b.element.propAttr is not a function".
When i use previous version of jquery-ui, autocomplete works ok.
How do I solve this problem?
I include jquery-ui 1.9.2 in my page. But autocomplete doesn’t work.
The error is "TypeError: b.element.propAttr is not a function".
When i use previous version of jquery-ui, autocomplete works ok.
How do I solve this problem?
I tried to disable jquery and add own jquery library. But I still have error.
Yii::app()->clientScript->scriptMap=array(
'jquery.js'=>false);
<script type="text/javascript" src="<?php echo Yii::app()->theme->baseUrl;?>/js/jquery-1.8.3.js"></script>
<script type="text/javascript" src="<?php echo Yii::app()->theme->baseUrl;?>/js/jquery-ui-1.9.2.custom.min.js"></script>
Did you clear your assets folder ?
Yes, I did. No change.
In jquery UI 1.8.x "[color="#1C2837"][size="2"]propAttr" was used in the autocomplete widget, but in jquery UI 1.9.x that was removed completely.[/size][/color]
[color="#1C2837"] [/color]
[color="#1C2837"][size="2"]By your error it seems that you are still using the old jquery UI (or just the old autocomplete widget)[/size][/color]