<分区>
看这个页面:https://github.com/mozilla/chromeless/tree/master/examples/first_browser
当我在文件夹和文件之间浏览时,我的浏览器更改了完整的 url。没有像其他 jQuery 方式那样找到标签。一个全新的页面..
但是如何更改整个页面而不是重新加载它呢?
感谢您的回答。
标签 javascript jquery
<分区>
看这个页面:https://github.com/mozilla/chromeless/tree/master/examples/first_browser
当我在文件夹和文件之间浏览时,我的浏览器更改了完整的 url。没有像其他 jQuery 方式那样找到标签。一个全新的页面..
但是如何更改整个页面而不是重新加载它呢?
感谢您的回答。
最佳答案
他们使用pushState
作为described on their blog
关于javascript - 新页面 - 没有 ajax?但是 Ajax ?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/7918779/