IE9 throws exceptions when loading scripts in iframe. Why?

后端 未结 6 1351
失恋的感觉
失恋的感觉 2020-12-15 03:58

Precondition:

I have an aspx-page with iframe inside. This iframe points to the url handled by MVC on the same site (it\'s hybrid site, both standard ASP.NET and ASP

6条回答
  •  忘掉有多难
    2020-12-15 04:23

    Try loading the javascript at the end after complete web page is loaded. I feel the script is executing even before the iframe is completely loaded.

    for some suggestion of scripting in IE9 view the given link below http://blogs.msdn.com/b/ie/archive/2010/06/25/enhanced-scripting-in-ie9-ecmascript-5-support-and-more.aspx

提交回复
热议问题