Lightning Fast Javascript Auto complete

<%= javascript_tag(“new
AutoCompleter.Local(‘search_start_station’,‘start_station_auto_complete’,
stations);”) %>

I have <%= javascript_include_tag :defaults %> in the head of my
layout.

But I always get an Error: “AutoCompleter is not defined”.

Im using Rails 1.0, so I should have the latest javascript files.

The tag stips out:

Any ideas why this is not working, Im following the Rails Recipies PDF
book.

Many thanks, Pete

Peter P. wrote:

<%= javascript_tag(“new
AutoCompleter.Local(‘search_start_station’,‘start_station_auto_complete’,
stations);”) %>

Many thanks, Pete

Case problem. You need Autocompleter, NOT AutoCompleter


Regards, Lori
http://blog.dragonsharp.com

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs