Displaying 1 result from an estimated 1 matches for "search_list".
2006 Mar 10
0
auto_complete_field, :on_hide woes
...ete working generating a list and populating a text
box in a form. The problem arises when I add the :on_hide option as
follows:
<%= auto_complete_field "search",
{ :url => {:action => "search"}, :on_hide => "foo($(''selected_uid''),
$(''search_list''))"} > %>
:on_hide makes everything stop working (''search'' action doesn''t get
called); in addition, the div that is supposed to contain the
selection list becomes visible beneath the text box as an ugly grey
bar.
Also, the javascript in the on_hide p...