Ajax request problem: error 80020101

前端 未结 14 1995
[愿得一人]
[愿得一人] 2020-11-30 13:47

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

相关标签:
14条回答
  • 2020-11-30 14:26

    Got this error for a different issue while using jquery.

    Change $(document).ready(function(){}); TO $(window).load(function(){});

    0 讨论(0)
  • 2020-11-30 14:27

    Remove javascript declarations that imports a script using src-attribute. Change your javascript-file to inline-javascript if you really need it there.

    Source: http://bytes.com/topic/javascript/answers/750333-ie-syntax-error-80020101-undefined-array

    Easiest way to would be to to add a parameter to your AJAX request such as ajax=1 and hide the javascript declarations when ajax -parameter exists is in request.

    I don't think this has anything to do with including files with jsp:include since the browser does not know aynthing else than the HTML you throw it with.

    0 讨论(0)
提交回复
热议问题