javascript - Compatibility from ie11 to ie10 -


i developed on ie11 , code works fine in browser version, when use ie10 - doesn't work. found this:

if ($.browser.msie && $.browser.version === 10) {   $("html").addclass("ie10"); } 

but addclass means? how compatibility ie10?

the code you've found not you. there whole bunch of reasons why code bad idea in cases, ignoring fact, block of code won't fix itself; tool write other code fix problem.

you need work out difference is. ie10 , ie11 browsers when comes rendering things correctly, guess somewhere in code you're using feature wasn't available in ie10 , introduced ie11, , why it's not working in ie10.

a couple of lines detect browser version won't resolve that. you'll still need work out feature (or features) you're using aren't working, , how around it.

when you've worked out, come , ask further if need it.


Comments

Popular posts from this blog

javascript - Slick Slider width recalculation -

jsf - PrimeFaces Datatable - What is f:facet actually doing? -

angular2 services - Angular 2 RC 4 Http post not firing -