Error with jquery-autocomplete in rails

Posted by alexBrand on Stack Overflow See other posts from Stack Overflow or by alexBrand
Published on 2011-01-03T16:52:06Z Indexed on 2011/01/03 16:53 UTC
Read the original article Hit count: 167

I've been trying to get autocomplete to work, however, I am getting a weird javascript error in the firebug console...

I used the https://github.com/crowdint/rails3-jquery-autocomplete gem.

The error I am getting reads: $(e).autocomplete is not a function

Here are the scripts i am including in my html:

  <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.4.4/jquery.min.js" type="text/javascript"></script>
  <script src="/javascripts/autocomplete-rails.js?1294035084" type="text/javascript"></script>

Thanks

© Stack Overflow or respective owner

Related posts about JavaScript

Related posts about jQuery