[removed].hash issue in IE7

后端 未结 4 1915
悲&欢浪女
悲&欢浪女 2020-12-19 09:18

We have a javascript function that should \"move\" a page to a certain position using anchors. This function just does window.location.href = \"#\" + hashName.

4条回答
  •  无人及你
    2020-12-19 09:39

    Have you tried changing just location.hash?

    window.location.hash = "#" + hashName;
    

提交回复
热议问题