Modify ↓
Ticket #6595 (closed bug: invalid)
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: | |
| Blocking: | Blocked by: |
Description
Change History
comment:2 Changed 3 years ago by addyosmani
- Priority set to low
- Status changed from new to closed
- Resolution set to invalid
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.
Please follow the bug reporting guidlines and use jsFiddle when providing test cases and demonstrations instead of pasting the code in the ticket.
Note: See
TracTickets for help on using
tickets.

So what should the jQuery collection look like for $("texty-stuff<div>hello</div>") ? jQuery doesn't return text nodes in its collections.