Thanks loads Xavier!! :) i just removed the div tags and kept the ul and li tags like you said and it worked.. i cant believe it was so simple!! been having this problem for quite a while! Also, I have implemented your plugin and its working well.. thanks! :) Just one more thing i could never figure out. If you take a look at the scriptaculous demo, the select options have an avatar, the name, and the email id, but when the user selects an option, only the name shows up in the text box. How can we achieve that?
On Sep 29, 3:34 pm, "Xavier Noria" <[EMAIL PROTECTED]> wrote: > You need to leave the UL and LIs, only start with a bare > > <li><%=h this %> and <%= that %></li> > > without additional markup and no newline between the LI tags and the content. > > You can write your custom action in the controller to implement any > search criteria, both in bare auto_complete and model_auto_completer, > there's a documented convention for the action name, as well as > options to point to a different action. --~--~---------~--~----~------------~-------~--~----~ 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@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---