Hi, I have implemented auto complete text box by using auto_complete plugins in rails 2 application. Can I show the number of occurence of the text those display in the list drived by auto_complete pugin? just like google. as example if I type "a" then it will show the list starting by "a" with the number of those text presence in the field of DB table. Any idea will be great appreciable. thanks in advace. -- 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 -~----------~----~----~----~------~----~------~--~---
Ruhul Amin wrote:> Hi, > I have implemented auto complete text box by using auto_complete > plugins in rails 2 application. > Can I show the number of occurence of the text those display in the > list drived by auto_complete pugin? > just like google. > as example if I type "a" then it will show the list starting by "a" > with the > number of those text presence in the field of DB table. > Any idea will be great appreciable. > > thanks in advace.use autocomplete js -- 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 -~----------~----~----~----~------~----~------~--~---
Nike Mike wrote:> use autocomplete jsHi Mike, Thanks for your reply. I have googled for the autocomplete.js.But the resultant items have no functionality that I am searching for( except Yahoo! UI Library>autocomplete>AutoComplete.js, I haven''t tried it). I have already used auto_complete plugin for auto complete list drive. But it do not show the number how many times the text is present in DB table. as example.. while type "a" It should show: apple 10 angel 5 axe 30 Can I make clear? Please have a look in the attachment.Sorry for my poor description. Please..... Thanks in advance. Amin Attachments: http://www.ruby-forum.com/attachment/3055/MyNeed.PNG -- 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 -~----------~----~----~----~------~----~------~--~---
just follow this for auto complete http://genlinux.blogspot.com/2008/07/prototype-ui-autocomplete-ajax-using.html -- 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 -~----------~----~----~----~------~----~------~--~---