Lightning Fast Javascript Auto complete


#1

<%= 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


#2

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