search for: on_hid

Displaying 4 results from an estimated 4 matches for "on_hid".

Did you mean: on_hide
2006 Mar 10
0
auto_complete_field, :on_hide woes
Hi, I have auto_complete 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''...
2005 Dec 21
1
How do you use :on_hide in auto_complete_field?
I''m trying to get some auto_complete_field stuff going, and I have them working for the most part, but I can''t quite get how the :on_hide option works. I''m hoping that I can populate a hidden field with the id of the chosen record with it...is that going to be possible? Thanks for your help. -- Posted via http://www.ruby-forum.com/.
2007 Oct 09
0
auto_complete :on_show :on_hide
Hi, Trying to use the auto_complete options of :on_show and :on_hide.... ......, :on_hide => "function(element, update) {allow_change_control(true);} " but when I do this it runs my js function but the div doesn''t hide. I would like the auto_complete to work normally and just run a js function which sets a js variable. Any suggestions Tha...
2006 Jan 19
0
auto_complete_for_text_field to association
...39;'s name in the text field, while setting the association id after selecting them from the auto_complete_results. To far I get some of it to work, am only get the 1st associattion_id no matter what item I am selecting from the results. The only reference I have seen on the list, is using on_hide, which has not worked for me. Has anyone else used this technique? Any tips? -- Posted via http://www.ruby-forum.com/.