How can Jquery window.location.hash replace?
This question already has an answer here:
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
您可以尝试替换功能:
str = str.replace('#', '');
链接地址: http://www.djcxy.com/p/70304.html
上一篇: 哈希URL为干净的URL