Form demo on IE9 throws error "AJAX Error 0:.."
See original GitHub issueWhen I access form at http://w2ui.com/web/demo/form with IE9 and hit save I get error:
AJAX Error 0: TypeError: Unable to get property 'addEventListener' of undefined or null reference
I have tried with IE9, IE11 with document mode IE9 - gives error. With IE10+ the form works fine.
I have tried with jQuery 1.11 and jQuery 2.0.3.
The documentation requirements shows IE9+, where lies the problem?
Thanks.
Issue Analytics
- State:
- Created 10 years ago
- Comments:8 (2 by maintainers)
Top Results From Across the Web
IE9 jQuery AJAX with CORS returns "Access is denied"
I was testing a CORS web service on my dev machine and was getting the "Access is denied" error message in only IE....
Read more >jalkoby/phoenix_ujs: Unobtrusive vanilla js toolset to ... - GitHub
AJAX request can be canceled if handler will return `false` ajax:success - a success response (2xx status code) ajax:error - an error response...
Read more >Ajax Requests - You Don't Need jQuery!
Invoke an alert with the user's name, or an error if the request fails. jQuery. There are a couple ways to initiate a...
Read more >Web Browser Control & Specifying the IE Version - Rick Strahl
I am receiving javascript errors and display issues when the page is opened in the application , but not when I open the...
Read more >IE9 doesn't allow submitting a HTML form programmatically if the ...
Instead the browser will throw the following error in the developer console, indicating the line containing form.submit() or button.click():.
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Hi, unfortunately i also must use IE9 in some projects, for company directive 😃 btw yes w2ui support IE9 with no problem, in this case IE9 doesn’t recognize the addEventListener of the progress % state in Ajax call, this happen often with IE9, all days i’m fighting with differents problems of compatibility of IE9, because it doesn’t recognize some portion of code if it’s written in a modern way 😃 Like as for example some global declaration of variables.In this case, i just notified today that the problem is at line 13170 untill 13175 just the progress event, there are two solutions.Rewrite that portion of addEventListener in a way that IE9 likes or i think you can also comment that portion of code from 13170 at 13175 but DON’T COMMENT RETURN XHR 😃, Commenting that portion doesn’t affect the right parse of the code just will not display the % state of the ajax call in save but it isn’t a problem.You can use a ajax block ui and unblock ui for the wait.I commented that portion and it work perfectly also in IE9, i notified this problem only with the save of the form object.Hope this help.Bye
Closing this issue, as there are no plans to support IE anymore.