IE8和7上的权限被拒绝错误

Leo*_*eon 0 javascript internet-explorer

网页错误详情

User Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.1; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; .NET4.0C; BRI/2)
Timestamp: Fri, 1 Jul 2011 01:21:21 UTC


Message: Permission denied
Line: 55
Char: 17
Code: 0
URI: http://www.testing.com/phone_select/


Message: Permission denied
Line: 55
Char: 17
Code: 0
URI: http://www.testing.com/phone_select/
Run Code Online (Sandbox Code Playgroud)

当前域名是http://www.gale.testing.com/.当我试图重定向到会出现此错误http://www.testing.com/phone_select/top.window.location

这是因为跨域问题吗?但是没有涉及ajax.在Firefox和Chrome中它运行正常.IE7和IE8会导致问题.

Eri*_*Law 5

请改用top.location.href?