Bug Tracker

Modify

Ticket #12143 (closed bug: invalid)

Opened 10 months ago

Last modified 10 months ago

Inconsistency in appendTo()'ing incorrect HTML accross browsers

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

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

Change History

comment:1 Changed 10 months ago by dmethvin

  • Status changed from new to closed
  • Resolution set to invalid

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

Please follow the  bug reporting guidlines and use  jsFiddle when providing test cases and demonstrations instead of pasting the code in the ticket.

View

Add a comment

Modify Ticket

Action
as closed
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.