简体   繁体   中英

Silverlight.js file broken in IE9?

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 轰炸

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!

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?

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM