Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Object #<Object> has no method '_renderItemData'

I'm trying to implement an advanced example of jquery.ui.autocomplete widget with categories ( http://jqueryui.com/autocomplete/#categories ). My code basically looks just like in this example's source code but for some reason, when i'll type something in input field, autosuggest don't work and i'm getting this error in object inspector javascript console:

Object #<Object> has no method '_renderItemData' 

Have you any idea what am i possibily doing wrong? The basic example works fine on my website. Thanks in advance.

like image 334
mbajur Avatar asked Nov 27 '12 12:11

mbajur


1 Answers

Use method _renderItem instead of _renderItemData. The example is wrong.

like image 149
Patec Avatar answered Oct 19 '22 04:10

Patec