开发者

rails params path with ajax

I am currently using some URL parameters to sort and categorize blog posts. For example, the parameter category=politics would pull all postings with the category of politics.开发者_运维知识库 Is there any way to load this with ajax or is a page refresh the best way?


It really depends on your User Interface.

I tend to use Ajax a lot, it makes websites much more "smooth".

Well, your question is very close to this great Railscast, have a look! http://railscasts.com/episodes/240-search-sort-paginate-with-ajax

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜