Skip to main content

Bug Tracker

Side navigation

#6595 closed bug (invalid)

Opened May 25, 2010 03:26AM UTC

Closed October 14, 2010 04:06PM UTC

jquery constructor looses first text nodes

Reported by: thatcher.christopher Owned by:
Priority: low Milestone: 1.4.3
Component: core Version: 1.4.2
Keywords: jquery constructor Cc:
Blocked by: Blocking:
Attachments (0)
Change History (2)

Changed July 21, 2010 02:15AM UTC by dmethvin comment:1

So what should the jQuery collection look like for

$("texty-stuff<div>hello</div>")
? jQuery doesn't return text nodes in its collections.

Changed October 14, 2010 04:06PM UTC by addyosmani comment:2

priority: → low
resolution: → invalid
status: newclosed

Your original forum entry and ticket unfortunately do not contain sufficient information for us to establish how you would like the text nodes to be returned. As dmethvin previously mentioned, we don't return text nodes in collections, however, if you would like to re-submit your ticket or further continue the discussion via the forum thread we'll be happy to discuss what is returned once further info is available to us.