Bug Tracker

Opened 7 years ago

Closed 7 years ago

Last modified 7 years ago

#12999 closed bug (notabug)

bug using append() on tag <section> in IE8

Reported by: jerikojerk@… Owned by:
Priority: undecided Milestone: None
Component: unfiled Version: 1.8.3
Keywords: Cc:
Blocked by: Blocking:

Description

this valid html5 document will raise an error in IE8 (access to unexpected properties)

my IE8: v8.0.7601.17514

<!DOCTYPE html>
<html>
<head>
	<meta http-equiv="content-type" content="text/html;charset=UTF-8" />
	<title>bug ie 8</title>
	<script type="text/javascript" src="libraries/jquery-1.8.3.min.js" ></script>

</head>
<body>
<p>Démo</p>
<section id="foobar">
	<h2>titre</h2>
</section>

<script>
$('#foobar').append('<p>example</p>');
</script>

</body>
</html>

Change History (3)

comment:1 Changed 7 years ago by timmywil

Resolution: notabug
Status: newclosed

It probably has to do with the lack of an html5 shim on the page, but it's hard to know for sure without a test case. In the future, support can be found on the forums or in the #jquery irc channel.

comment:2 Changed 7 years ago by anonymous

i diseagree. I think jquery should behave the very same way accross all supported browser. if a hack is needed for ie, so jquery should do it automaticaly.

comment:3 Changed 7 years ago by dmethvin

Did you include an HTML5 shim? We can't do that for you.

Note: See TracTickets for help on using tickets.