ie8 asp.net中的网页错误

时间:2013-01-23 05:16:58

标签: asp.net c#-4.0 internet-explorer-8

Webpage error details

User Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.1; WOW64; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; .NET4.0C; .NET4.0E)
Timestamp: Wed, 23 Jan 2013 05:01:55 UTC


Message: Object expected
Line: 62
Char: 1
Code: 0
URI: http://localhost:4001/abc.aspx?id=12

我在每个页面都收到此错误,特别是在ie8中。导致问题的我的脚本是

<script type="text/javascript">DM_redirect("http://mobile.dudamobile.com/site/abc");      </script>

它适用于Google Chrome和Mozilla

我如何摆脱这个问题

正在使用的脚本是

http://static.dudamobile.com/DM_redirect.js

1 个答案:

答案 0 :(得分:0)

几周前,我有类似的问题。您基本上必须在语言中指定“javascript”,因为IE8会读取其他内容。

最后这对我有用。