I am using IE OCX on Progress ABL container and has forced the emulation of IE10 by adding a new DWORD entry on windows registry(on FEATURE_BROWSER_EMULATION). The web file I want to open on this embedded browser includes jQuery version 2.2.4 and I am getting the script error:
Line: 3573 [document.addEventListener( "DOMContentLoaded", completed );],
Char: 4,
Error: Object doesn't support property or method 'addEventListener'
Code: 0,
URL: filepath/jquery-2.2.4.js.
The same error persists even if i force the emulation of IE11 and use jQuery 2.x. But no error if I use jQuery 1.12.4. Emulated version is correct. Is that the issue of Microsoft web browser ocx? I have IE11 on my machine.
Any help would be appreciated! Thank you!!
You will need to use the 1.x branch of jQuery, as the 2.x branch removed a lot of legacy code which was required for compatibility with older browsers and IE (which is what the OCX control will be using)