Forum: Ruby on Rails show autocomplete (scriptaculous)

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
82fdd815fedbcd9cca7eb94644a0530b?d=identicon&s=25 cfingerh (Guest)
on 2007-05-15 23:19
(Received via mailing list)
I'm using scriptaculous to generate in a autocomplete field

var user_name_auto_completer = new Ajax.Autocompleter('user_name',
'user_name_auto_complete', '/users/auto_complete_for_user_name', {})

It's wokring OK. But I want that when the users clicks on a button
then it should show everything.
I need something like
onclick=" user_name_auto_completer.filter('');
user_name_auto_completer.show()"

Thanks

Christian
This topic is locked and can not be replied to.