Displaying 1 result from an estimated 1 matches for "automodelsdiv".
2009 Aug 11
5
Dynamic drop-downs in a form_for using AJAX remote_function - Help
...;}, {:onChange => remote_function(:url =>
{:action => ''get_automodels''}, :with => "''make='' + this.value")} %>
6. </p>
7. <p>
8. <%= f.label "Model:" %><br/>
9. <div id=''automodelsdiv''>
10. <%= f.collection_select :model,
@automodels, :model, :model, {:prompt => "-Select a Make First-"} %>
11. </div>
12. </p>
13. <p>
14. <%= f.submit ''Create'' %>
15. </p>
16. <% end...