SolutionCottage.com
Posted  10 Jul 2009 - 08:18:17

Category: Ruby on Rails


Ajax.Autocompleter is not a constructor

Issue:
When you're trying to use the auto_complete plugin you get the following error message in firebug (for example): "Ajax.Autocompleter is not a constructor"

Solution:
In your layout or view template, include the following to your includes:

<%= javascript_include_tag "prototype", "effects", "controls" %>



Marked as helpful by 15 users




1 comment:

7/21/2011 8:20:31 AM  4  wrote:

44









© SolutionCottage 2008-2011 7/25/2017 7:30:34 AM