autocomplete word by word

22 views
Skip to first unread message

rubix Rubix

unread,
May 6, 2012, 5:02:36 PM5/6/12
to rubyonra...@googlegroups.com
Hi,
I am trying to implement an autocomplete form with rails, I used jquery
in a first version, to suggest phrases to user and it worked
Now I am trying to have a service of autocomplete word by word, it means
when the user it typing in the text area, I suggest only words and not
phrases and when he finishes the word and starts a new one I do the same
suggestion for the new word
Is there a way to do this easily in rails
regards,

--
Posted via http://www.ruby-forum.com/.

Guillem Vidal

unread,
May 6, 2012, 6:03:15 PM5/6/12
to rubyonra...@googlegroups.com
rubix Rubix wrote in post #1059751:
This can be done with javascript/jquery, not rails. Use the callbacks of
autocomplete :).

pepe

unread,
May 7, 2012, 7:37:03 AM5/7/12
to Ruby on Rails: Talk
I think what Guillem is saying is that you can still do it with jQuery/
Javascript like you did before and that you'll need to control the
logic yourself.
Reply all
Reply to author
Forward
0 new messages