Reputation: 22519
how do I create autocomplete that works exactly like how the tags work in here? (stackoverflow)?
There are autocomplete plug-ins but not ones where you can separate your tags by commas and do autocomplete for each tags.
Upvotes: 0
Views: 271
Reputation: 30793
You'd need Token Fields
http://railscasts.com/episodes/258-token-fields
Upvotes: 1
Reputation: 1713
Try the jquery autocomplete the back-end is done in PHP though you can convert it on rails
http://bassistance.de/jquery-plugins/jquery-plugin-autocomplete/
Here are some demos
http://jquery.bassistance.de/autocomplete/demo/
Upvotes: 0