Hi,
I would like to create a select box which is editable through Ajax. Does
anyone have a code pattern for that?
Up to now I’m using the following code snippet:
<span id="tag"><%= @nutzer.tag%>
<%= select("nutzer", "tag", Nutzer::TAG_TYPES,
{:include_blank =>
true}) %>
</span>
After I call the site there appears a select box which has a behavior
like AJAX. But after clicking on the select box it disappears and I get
a normal text field. So what am I doing wrong?
Regards,
Yussibaer
--
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
-~----------~----~----~----~------~----~------~--~---