Select boxes with Ajax


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:

<%= @nutzer.tag%>
<%= select(“nutzer”, “tag”, Nutzer::TAG_TYPES, {:include_blank =>
true}) %>

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?


This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs