开发者

rails: autocomplete

how do I create autocomplete that works exactly like how the tag开发者_JAVA技巧s 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.


You'd need Token Fields

http://railscasts.com/episodes/258-token-fields


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/

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜