Displaying 1 result from an estimated 1 matches for "brand_id_container".
2006 Jan 13
3
related drop down list / ajax
...gt;
<option value="">Select category</option>
<% @categories.each do |category| %>
<option value="<%= category.id %>">
<%= category.title %>
</option>
<% end %>
</select>
<select id=''brand_id_container'' name=''brand_id_container''>
<option value=''''>No Brand</option>
<% for brand in @brands -%>
<option value=''<%= brand.id %>''><%= brand.title %></option>
<% end -%>
</selec...