I have a jQuery popup window that works in Firefox.
However, I am getting the following error message on line 1 of my html page:
SCRIPT438: Object doesn't support property or method 'addEventListener' popup_1.html, line 1 character 1
The only code I have in line 1 is:
<html>
When I run the IE9 debugger, I am getting an error on something called
script block(1)
But I am not using any javascript named "script block" is this an Internet Explorer add on or something?
Looks like I had to add the html 5 doctype:
<!DOCTYPE html>
I got this error in IE10. The issue was the browser was running in compatibillity mode. Hit F12 and turn it off. The error is gone.
Adding the following tag solved this issue for me:
<meta http-equiv="X-UA-Compatible" content="IE=Edge">
This error usually happens because IE creates JS variables for every HTML node and it conflicts with jQuery & other JS things you're adding.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With