Hi,
I have been struggling with the select tag for the last two days. Does
anyone know how to change the content of a select_tag? More
specifically, I have a list of items on another select_tag. I would
like to make it so that the user can add the items into their own list.
I tried this in my controller (with KRJS plugins)
def on_item_list_dblclick
render :update do |page|
page[''user_list''].add = params[:dom_value]
end
end
Changing text in a textbox is simple, but I can''t find any
documentation
about how to add to a select list. Any help would be appreciated.
Thank you.
--
Posted via http://www.ruby-forum.com/.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Ruby on Rails: Talk" group.
To post to this group, send email to
rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---