typecho使用pjax
传统ajax,只能异步获取到数据,但是不能动态的改变网页地址。
pjax即ajax+history.pushState
HTML5里引用了新的API,history.pushState和history.replaceState,就是通过这个接口做到无刷新改变页面URL的。
传统ajax,只能异步获取到数据,但是不能动态的改变网页地址。
pjax即ajax+history.pushState
HTML5里引用了新的API,history.pushState和history.replaceState,就是通过这个接口做到无刷新改变页面URL的。