在阿贾克斯管理浏览器历史记录 [英] Managing Browser History in Ajax

查看:162
本文介绍了在阿贾克斯管理浏览器历史记录的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我用我的网站阿贾克斯。

I am using ajax in my site.

如果用户输入的查询,然后选择一个类别,我会更新页面的结果与阿贾克斯。我也更新URL与哈希值,显示查询和类别由&放大器分开;

If a user enters a query and select a category, i will updates the page with result with ajax. I also update the url with hash value which shows query and category seperated by an &.

我要的是,当浏览器后退按钮是pressed我想无需重新加载,显示previous结果。我所得到的是该URL的previous值,但结果没有更新。

What I want is that when the browser back button is pressed I want to display the previous result without reloading. What i am getting is that the URL has the previous values, but the result is not updating.

推荐答案

您可以使用:雅虎UI库:浏览器历史记录管理器

这篇关于在阿贾克斯管理浏览器历史记录的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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