像 jQuery mobile 一样更新 URL
jQuery mobile 使用什么方法来更新 URL,而无需浏览器重新导航到该 URL?也就是说,如何在不更改页面及其 DOM 的情况下编辑 url 字符串并保持在完全相同的页面上?
What methods does jQuery mobile use to update the URL without having the browser re-navigate to that URL? That is, how can I just edit the url string without altering the page and it's DOM and stay on the exact same page?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
jQuery 使用 HTML5 中存在的一些新的历史对象方法。
来自火狐
您可以在这里阅读更多相关内容。 https://developer.mozilla.org/en/DOM/Manipulated_the_browser_history
jQuery uses some new history object methods that are present in HTML5.
from mozilla
You can read up more on it here. https://developer.mozilla.org/en/DOM/Manipulating_the_browser_history