Silverlight.js file broken in IE9?

2019-09-19 02:24发布

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.

IE9 Bombing

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条回答
2楼-- · 2019-09-19 02:41

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?

查看更多
登录 后发表回答