javascript - IE 11 "An error has occurred in the script on this page" at the end of the line -


i trying test legacy web site intended work on ie8 in ie11.

i error "an error has occurred in script on page." on code when accessing page on ie11 (it works fine on ie8). line number stated here last line of clientcxmldocument.js file , don't see issue in code case issue.

error

on ie11 in internet options, if uncheck "disable script debugging (internet explorer)", no longer error more interested know causing error.

there lot of api featured removed , replaced in ie11 listed in documentation:

https://msdn.microsoft.com/en-us/library/ie/bg182625(v=vs.85).aspx

for example, use of document.selection no longer work in ie11 javascipt code may contain of these , use corresponding replacements.

in meantime while fixing code, might want use ie x-ua tag specify ie8 legacy document mode

<meta http-equiv="x-ua-compatible" content="ie=8" /> 

Comments

Popular posts from this blog

Payment information shows nothing in one page checkout page magento -

tcpdump - How to check if server received packet (acknowledged) -