Jquery window.location.hash如何替换? [英] How can Jquery window.location.hash replace?
本文介绍了Jquery window.location.hash如何替换?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
如何更改
http://www.example.com/#home http://www.example.com/home
我使用jquery制表符
是否可能?
解决方案 div>
pushState
会做到这一点,尽管支持并不是很好。
在这里阅读: http://badassjs.com/post / 840846392 / location-hash-is-dead-long-live-html5-pushstate?16328a60
How can i change http://www.example.com/#home to http://www.example.com/home
I'm using jquery tabs
Is it possible ?
解决方案
pushState
will do this, though support isn't so great.
Read up here: http://badassjs.com/post/840846392/location-hash-is-dead-long-live-html5-pushstate?16328a60
这篇关于Jquery window.location.hash如何替换?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文