Skip to main content

Bug Tracker

Side navigation

#5438 closed bug (fixed)

Opened November 01, 2009 02:31PM UTC

Closed November 07, 2009 03:21PM UTC

$.merge() discards comment nodes

Reported by: john Owned by:
Priority: major Milestone: 1.4
Component: core Version: 1.3.2
Keywords: Cc:
Blocked by: Blocking:
Description

From here:

http://groups.google.com/group/jquery-dev/browse_thread/thread/10b88050817c54b6

jQuery.merge() is the only function that discards comment nodes (?).

This means that

$( nodeList )

can contains comment nodes, but

$([]).add( nodeList )

can not.

Attachments (0)
Change History (1)

Changed November 07, 2009 03:21PM UTC by john comment:1

resolution: → fixed
status: newclosed