Skip to main content

Bug Tracker

Side navigation

#10801 closed bug (invalid)

Opened November 16, 2011 10:48AM UTC

Closed November 16, 2011 02:41PM UTC

Last modified March 01, 2012 03:58AM UTC

HTML-comments within script-Blocks executede with $.html fails in IE - Error 80020101

Reported by: iui4@gmx.de Owned by:
Priority: low Milestone: None
Component: ajax Version: 1.6.4
Keywords: Cc:
Blocked by: Blocking:
Description

Normal html-comments in a script-tag, which is executed with scriptEval fails with the JS-error 80020101.

Similar with the Ticket #9221

Attachments (0)
Change History (4)

Changed November 16, 2011 10:53AM UTC by anonymous comment:1

For Example:

ajax.html

<script type="text/javascript">
<!-- /*
alert('Show Alert');
*/-->
</script>

test.html

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
  <head>
    <title></title>
    <script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.6.0/jquery.min.js"></script>      
  </head>
  <body>
  <div id="ajax">Loading AJAX</div>
  
  <script type="text/javascript">
    $.ajax({
      url: "ajax.html",
      success: function(html){
        $("#ajax").html(html);
      }
    });
  </script>
  
  </body>
</html>

Changed November 16, 2011 02:41PM UTC by timmywil comment:2

component: unfiledajax
priority: undecidedlow
resolution: → invalid
status: newclosed

Changed February 29, 2012 07:48PM UTC by polzka90 comment:3

i have a similar error but in all browsers and i dont have html-comments in any script

Changed March 01, 2012 03:58AM UTC by anonymous comment:4

Replying to [comment:3 polzka90]:

i have a similar error but in all browsers and i dont have html-comments in any script

What means similar?