Skip to main content

Bug Tracker

Side navigation

#12143 closed bug (invalid)

Opened July 25, 2012 10:22AM UTC

Closed July 25, 2012 12:20PM UTC

Inconsistency in appendTo()'ing incorrect HTML accross browsers

Reported by: pawel@mucha.com Owned by:
Priority: undecided Milestone: None
Component: unfiled Version: 1.7.2
Keywords: Cc:
Blocked by: Blocking:
Description

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

Attachments (0)
Change History (1)

Changed July 25, 2012 12:20PM UTC by dmethvin comment:1

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/