Forum: Ruby on Rails default value using Autocompleter.local

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
adeel (Guest)
on 2008-12-12 08:40
(Received via mailing list)
I'm using recipe 7 from Rails Recipes to get really fast auto-
completion through Javascript.

I was previously using text_field_auto_complete which lets me define
a :value that appears in the field when the page is loaded - serving
as a default value.

I'd like to preserve this using the "<%= javascript_tag("new
but I don't know how to define a default value.

This topic is locked and can not be replied to.