Open webitdev2015 opened 7 years ago
Hey @webitdev2015, do you have an input with id search-txt
?
Yes, that is correct.
Here is field code:
<%= text_field_tag :name, "", id: "search-txt", class: "ui-autocomplete-input form-control" %>
What version of jQuery UI are you using?
@rtsinani I am using GEM gem 'jquery-ui-rails'
of jQuery UI.
The Gemfile.lock
says its jquery-ui-rails (6.0.1)
@webitdev2015 Have you tried the example project?
Hi
I was going your tutorial on integrating jQuery UI's autocomplete with Rails using the link below:
http://www.lugolabs.com/articles/20-jquery-ui-autocomplete-with-ruby-on-rails
For some reason I am getting this error:
My application.js file:
The complete code is: