Bug Tracker

Opened 12 years ago

Closed 12 years ago

#2026 closed bug (wontfix)

Hard to get at original appendTo/replaceAll stuff

Reported by: john Owned by:
Priority: major Milestone: 1.2.2
Component: core Version: 1.2.1
Keywords: Cc:
Blocked by: Blocking:

Description

For example:

$("<p>foo</p>") // [<p>]
  .appendTo("div") // [<p>]

There's no way to get at all of the paragraphs that were appended. I'd like to propose that if any element cloning is done then appendTo/replaceAll/etc. should return the cloned results, like so:

$("<p>foo</p>") // [<p>]
  .appendTo("div") // [<p>, <p>, <p>, <p>, ...]

Change History (1)

comment:1 Changed 12 years ago by john

Resolution: wontfix
Status: newclosed

See #2027 instead.

Note: See TracTickets for help on using tickets.