Displaying 1 result from an estimated 1 matches for "library_select_all".
2006 Jun 02
1
Updating html breaks my interface
...ces the album_select, it stays inline.  But
thats not the case once the album_select 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", choi...