Internet Explorer 11 - Ajax Call Not Firing
I am stuck in the middle of a bug. I began to use BrowserStack to validate my current project against Windows IE and EDGE and I got a particular issue with IE 11. I first got an is
Solution 1:
My issue here was that I needed to override my call to different e.preventDefault()
by
e.preventDefault ? e.preventDefault() : ( e.returnValue = false );
Which is better supported on IE.
Got this information from the following post : event.preventDefault() function not working in IE
Then I got aditionnal issues with the Event and CustomEvent class not properly supported so I added a few polyfills by adding Babel Transpiler to avoid using ES2015 but compatible JS.
Still having some issues with supporting IE 11 completely but this one is fixed.
Post a Comment for "Internet Explorer 11 - Ajax Call Not Firing"