Why Document.createevent Is Not Supported With Webbrowser On Ie9+ And How To Fix It?
I'm using Windows 8, Internet Explorer 10, Visual Studio 2013 Here is javascript code : function simulate(element, eventName) { var options = extend(defaultOptions, arguments
Solution 1:
Add an alert to show document.documentMode
and document.compatMode
, what do you see?
I believe you should have both the correct FEATURE_BROWSER_EMULATION
value in the registry and <!DOCTYPE html>
in the HTML itself, for all modern HTML DOM/JavaScript features to work.
This also applies to the related question of yours.
Post a Comment for "Why Document.createevent Is Not Supported With Webbrowser On Ie9+ And How To Fix It?"