Hi,
i want to create a form which contains 3 select-boxes which content
depend on each other.
i created the first select box:
<select id="timeblock_project" name="timeblock[project]"
onclick="<%remote function(:update =>
''new_sub_project'', :url => { :action =>
''timeblock_submenu_tag'', :id => ????}) -%> ">
<% for project in @projects %>
<option value="<%=project.id%>">
<%=project.name-%>
</option>
<% end %>
</select>
<td id="new_sub_project">
</td>
the :id => ??? should be replaced with the id of the project in the
selected option-tag, but.. how?
greetings,
Pascal
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---