sarcophilus
2007-Aug-02 12:23 UTC
Problems with Ajax.Autocompleter with multiple words returned
Hi, I have implemented the Ajax.Autocompleter.JSon on a webpage. The JSon array returned contains tokens with multiple words (such as "This is", and "Hello world"). My problem is that I dont get the second word to be highlighted if that is the match, so in the example above, if I write ''wo'' in the box, I will get the "Hello world", but "wo" wont be highlighted, but if I write ''He'' the two letters will be highlighted. I tried writing my own function for this, but I cannot seem to get it right. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Spinoffs" group. To post to this group, send email to rubyonrails-spinoffs-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-spinoffs-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-spinoffs?hl=en -~----------~----~----~----~------~----~------~--~---