dihakz
dihakz

Reputation: 557

Coding a web page that works in IE8 but breaks in IE11

I'm trying to demonstrate to some folks in a seminar how particular elements (be they html tags, css defined styles or JavaScript behaviors) that were coded to work properly in IE7, also works in IE8, but fails in IE11.

Currently the intranet I'm showing works properly in IE11, but I want to change the code so that it doesn't. In other words, what can I add/change to my code that will allow it to continue rendering correctly in IE8 but breaks in IE11?

Upvotes: 0

Views: 821

Answers (2)

securecodeninja
securecodeninja

Reputation: 2515

You can go thru the list of legacy API removals in IE11 provided in detail in this MSDN documentation:

https://msdn.microsoft.com/en-us/library/ie/bg182625%28v=vs.85%29.aspx#legacyAPIs

One example is the use of the attachEvent method which is removed in IE11

Upvotes: 1

Hayden Schiff
Hayden Schiff

Reputation: 3330

You could write some JavaScript that uses document.all, a terrible terrible way to get elements that worked through IE10 but was dropped in IE11.

Upvotes: 1

Related Questions