Displaying 2 results from an estimated 2 matches for "list_option".
Did you mean:
  last_option
  
2009 Oct 19
1
Combobox population by means of JQuery and Ajax.
This is the view municipalities.js.erb I have:
<% list_opt = options_from_collection_for_select(@municipalities, :id,
:name) %>
<% puts list_opt  %> #ok! list_opt contains the options
$(''#municipality_id'').html(''<%= list_opt %>'');
and this is the combobox in the view:
...
Comune <select id="event_municipality_id"
2006 Jul 17
2
DB Admin Console
...tivated" via an activated/deactivated button
   * Supports basic CRUD operations
 * /admin_panel/model/edit will create a new instance of the model
 * /admin_panel/model/edit/id will bring up an edit form
 * the panel is customizable:
   * by def page_options; { option_hash }; end
   * by def list_options; { option_hash }; end
   * /admin_pane/model will provide a two-panel categorized list if 
:has_many
     or :belongs_to options are set as a list_option
   * Clicking a category (on the left list) will bring up items (from 
the right
     list) in that category. This works with working has_many o...