Silverlight.js file broken in IE9?

流过昼夜 提交于 2019-12-13 05:41:02

问题


After downloading IE9, I found that running any Silverlight page breaks (only in IE9).

After clicking "yes" to debug, I was amused to see that the Silverlight.js file is choking on some JavaScript that was put in as a hack to work with previous versions of IE.

What would the fastest way to fix this be? Is there an updated Silverlight.js file I can download from somewhere? Should I use a meta tag to tell IE to render as though it were version 7 or 8?

Thanks!


回答1:


Silverlight.js is for helping your create object tags programmatically using javascript. It's useful when you don't want to load a silverlight object on page load. I use it in my projects and I don't see any errors with it. If you open up your silverlight.js file, it will have the version number on the first line. Mine says:

//v4.0.50401.0 

What is your version?



来源:https://stackoverflow.com/questions/5805563/silverlight-js-file-broken-in-ie9

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!