Bug Tracker

Opened 11 years ago

Closed 11 years ago

#12143 closed bug (invalid)

Inconsistency in appendTo()'ing incorrect HTML accross browsers

Reported by: [email protected] Owned by:
Priority: undecided Milestone: None
Component: unfiled Version: 1.7.2
Keywords: Cc:
Blocked by: Blocking:


There is some difference in rendering the page between e.g. IE7 and FF/Chrome (and even IE8+) when appending (with jQuery(...).appendTo(...)) incorrect HTML. It seems like jQuery isn't able to handle it in IE7 properly, even though when inserting it through .innerHTML += "..." attribute works quite well.

An example is here: http://jsfiddle.net/JAQHg/

If it doesn't work, it is also here: http://dev.mucha.it/jquery-append.php

Change History (1)

comment:1 Changed 11 years ago by dmethvin

Resolution: invalid
Status: newclosed

The docs are extremely clear on this point: "To ensure cross-platform compatibility, the snippet must be well-formed." http://api.jquery.com/jQuery/

Note: See TracTickets for help on using tickets.