For those interested, include an "informal" class for the element you
don't want to get in your text field.
:) works well.
@Xavier, Thanks for pointing me in the right direction with that! How
can i customize model_auto_completer_result to show more than one
attribute in the results? like contact name, contact email? Hoping you
can hep me with that.

On Sep 30, 11:38 am, "Xavier Noria" <[EMAIL PROTECTED]> wrote:
> On Tue, Sep 30, 2008 at 8:01 AM, Vinay <[EMAIL PROTECTED]> wrote:
> > 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?
>
> I am not 100% sure, but I believe it is a side-effect of the CSS +
> what the browser takes from the LI to display something in the text
> field. The CSS goes in the HEAD of the page if you'd like to play
> around.
--~--~---------~--~----~------------~-------~--~----~
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 [email protected]
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to