Skip to main content

Bug Tracker

Side navigation

#6649 closed bug (invalid)

Opened June 09, 2010 07:09AM UTC

Closed June 12, 2010 01:31AM UTC

browser hangs up while $.append()

Reported by: Mr Q.C. Owned by:
Priority: Milestone: 1.4.3
Component: manipulation Version: 1.4.2
Keywords: Cc:
Blocked by: Blocking:

got problems while using $("some html").append("");

when "some html" is "<!-- ..... -->.....<!-- .... -->" maybe jquery searches for the "/" but in comments maybe it is not available.

Attachments (0)
Change History (1)

Changed June 12, 2010 01:31AM UTC by dmethvin comment:1

component: unfiledmanipulation
resolution: → invalid
status: newclosed

It's not possible to append anything to text and comment nodes, because neither can have children. I suppose jQuery could throw some sort of error for this case but it's sufficiently pathological that it is probably not worth it.