Bug Tracker

Opened 8 years ago

Closed 8 years ago

Last modified 8 years ago

#9407 closed bug (worksforme)

append with html tags not working in IE8

Reported by: anonymous Owned by:
Priority: low Milestone: 1.next
Component: manipulation Version: 1.4.3
Keywords: Cc:
Blocked by: Blocking:

Description

.append("<span><H6>My Example </H6></span>").

It is not working in IE8 and wroks fine in other browsers including IE7.

if I remove html tags like the below it is working very fine in IE8 .append("My Example").

Change History (2)

comment:1 Changed 8 years ago by timmywil

Component: unfiledmanipulation
Priority: undecidedlow
Resolution: worksforme
Status: newclosed

Thanks for taking the time to contribute to the jQuery project! Append seems to be working fine.

http://jsfiddle.net/timmywil/Ys7SP/

comment:2 Changed 8 years ago by dmethvin

Also, it is generally invalid to put a block element (H6) inside an inline element (SPAN), perhaps that invalid markup is causing trouble elsewhere.

Note: See TracTickets for help on using tickets.