I have a request which returns a jsp page. But the fact is, the jsp includes jsp:include in it(it calls another jsp file in it) and ie gives the error 80020101.
Any
In my case I found that there was an HTML comment in my JS code as:
<script type="text/javascript">
<!-- Unexpected Comment -->
//code...
</script>
I replaced <!-- -->
with /* */
and it worked.
Hope it will help someone.
I have now come across this problem with jQuery (even the latest version) twice. The ONLY solution is to copy and paste all of your javascript into one big file and run it through JSLint (jsfiddle.net, preferred). It was able to point out several minor errors (including an extra comma in one of my data callback structures) that I was able to fix and then re-copy and paste back into their original places to eliminate the issue.
http://jsfiddle.net/devlshone/QKxup/3/
My issues were caused by:
var a = b = c = true;
turned to
var a = true;
var b = true;
var c = true;
Now it works fine!
Bye MA
I had the same error, but in my case there was a reserved word 'class'
.
Here is a snippet of code to make this clear:
function foo(ajaxResponse){
$(elem).attr('class', ajaxResponse.class);
}
I rewrote this as:
$(elem).attr('class', ajaxResponse['class']);
Hope this was helpful.
I experienced this error when using jQuery 1.10.2 and was loading a file that didn't exist.
So make sure the file you try to load is correct, otherwise IE8 can throw the 80020101 error.
Are you by any chance including a js file ?
Because
Error 80020101 means that IE isnt't able to compile your script.