#12999 closed bug (notabug)
bug using append() on tag <section> in IE8
Reported by: | 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 10 years ago by
Resolution: | → notabug |
---|---|
Status: | new → closed |
comment:2 Changed 10 years ago by
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.
Note: See
TracTickets for help on using
tickets.
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.