开发者

rails params path with ajax

开发者 https://www.devze.com 2023-03-24 03:13 出处:网络
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 ther

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

精彩评论

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