jQuery: The Write Less, Do More JavaScript Library

Ticket #2026 (closed bug: wontfix)

Opened 8 months ago

Last modified 8 months ago

Hard to get at original appendTo/replaceAll stuff

Reported by: john Assigned to: anonymous
Type: bug Priority: major
Milestone: 1.2.2 Component: core
Version: 1.2.1 Keywords:
Cc: Needs: Review

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>, ...]

Attachments

Change History

Changed 8 months ago by john

  • status changed from new to closed
  • resolution set to wontfix

See #2027 instead.

Note: See TracTickets for help on using tickets.