Hi guys, I was wondering if I can add a custom callback to ''auto_complete_field'' helper. I know there are several options (:on_show, :on_hide, :after_update, and so on) already, but I want to add another callback, which will be triggered every time an action bound to ''auto_complete_field'' is completed. The reason why I want this callback is that I want to show the number of hits. I''m using '':on_show'' option for this purpose by counting <li> elements in query results at the moment. However, it doesn''t work when there is no hit or you just refine your query string without leaving the text field. Any help would be appreciated. Cheers, Semin -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---