Welcome to Working With Rails

 

Discussion Forums

Discuss all things Ruby on Rails with perhaps the web's most vibrant group of Ruby on Rails enthusiasts.
autocomplete using :select option
2 Posts
autocomplete using :select option

It is showing all of the data instead of the class which is referenced.

I have this autocomplete which works but the :select => 'class' is not working. Any ideas?

'T_NAME'},

                :after_update_element => "function(element,value){" + remote_function(:url => { :controller => 'followerranking', :action => :ajax_add_friend },
                :with => "'friend[name]=' + element.value") + "}" )%>

Autocomplete drop down partial:

2 Posts
Login to add your message