Displaying 1 result from an estimated 1 matches for "album_select_all".
2006 Jun 02
1
Updating html breaks my interface
...lect is finished loading. What is the
difference between replace_html and :update? What am I missing? I don''t
see much about this in the docs. Here''s the code.
HTML:
<span>
library: <%= library_select_all %>
album: <span id="album_select"><%= album_select_all %></span>
</span>
helpers:
def library_select_all
choices= [[''All'', -1]]
choices+= @libraries.collect { |l| [l.title, l.id] }
select "library", "id", choices, {}, {:id => "library_select", :onchange
=> "#{...