windows.location.href not working on Firefox3

前端 未结 17 1101
囚心锁ツ
囚心锁ツ 2020-11-30 07:31

We have a JavaScript function named \"move\" which does just \"windows.location.href = any given anchor\".
This function works on IE, Opera and Safari, but so

17条回答
  •  無奈伤痛
    2020-11-30 08:08

    window.location.href works fine in all versions of Firefox, as does document.location.href I think that there is something else in your code that is breaking things.

    drop this in a blank page, if it works, it indicates there is something else wrong on your page.

    
    

提交回复
热议问题