如何与QUOT;书签及QUOT;页面或使用AJAX的内容取? [英] How to "bookmark" page or content fetched using AJAX?

查看:213
本文介绍了如何与QUOT;书签及QUOT;页面或使用AJAX的内容取?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何书签页面或内容获取使用AJAX?

How to "bookmark" page or content fetched using AJAX?

它看起来像它可以很容易,如果我们只是细节添加到锚,然后,用路由,甚至在PHP code或Ruby on Rails的的route.rb,赶上那部分,然后相应地显示内容或页面? (显示整个网页或者部分内容)

It looks like it can be easy if we just add the details to the "anchor", and then, use the routing or even in PHP code or Ruby on Rails's route.rb, to catch that part, and then show the content or page accordingly? (show the whole page or partial content)

然后,它可以很简单?它看起来像的Facebook是怎么做的。有什么其他好的方法可以做到这一点?

Then it can be very simple? It looks like that's how facebook does it. What are other good ways to do it?

推荐答案

我试了很多包。 jQuery的历史插件似乎是最完整的:

I tried many packages. The jQuery History plugin seems to be most complete:

http://github.com/tkyk/jquery-history-plugin

这篇关于如何与QUOT;书签及QUOT;页面或使用AJAX的内容取?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆