windows.location.href not working on Firefox3

前端 未结 17 1135
囚心锁ツ
囚心锁ツ 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:31

    sometime if you're using form to post data, this may happen. if you're using ajax, try to change 'form' to 'div'. this will prevent the default behavior of form and do your ajax code.

提交回复
热议问题