I am trying to redirect to another page in IE9 (9.0.3).
When I try to get / set document.location
, or document.location.href
, or window.location
/ window.location.href
, I cannot do this. He does not make any mistakes.
I tried to check if the document objects and windows are installed, and they are, so I have no idea why the location object is "missing".
I tried to get document.URL
and it works fine, but it is read-only.
Does anyone know what the problem is or how to achieve this in cross-browser mode?
source share