I am using ajax-solr. It works fine with jquery-ui-1.8. *.
But when I update it to jquery-1.10. * he gives me this exception:
cannot call methods for autocomplete before initialization; tried to call the destroy method
I got an answer to this in initializing an autocomplete widget ... just add
$(this.target).find('input').autocomplete();
, 1.10. *.Jquery , .
, , , CSS , .
if ($target.hasClass('ui-autocomplete')) { $target.autocomplete('destroy') }
Source: https://habr.com/ru/post/1525187/More articles:How to get a string in a specific format in android - javaPHP-преобразование xml в json не работает, когда есть CDATA - jsonDatastore update not working in GAE 1.9.0 - google-app-engineAdd two values to xslt, which can sometimes be null - xmlJavascript преобразует французские специальные символы - javascriptCreate javascript function var - javascriptdisplaying three table relationships in yii gridview - phpРасположение папки плагинов Redmine - directoryFFMPEG error avformat_open_input - ffmpegHow can I post code coverage from a C ++ / Javascript Node.js integrated addon to Coveralls.io? - node.jsAll Articles