Skip to main content

Bug Tracker

Side navigation

#4182 closed bug (fixed)

Opened February 18, 2009 04:28PM UTC

Closed February 18, 2009 04:29PM UTC

appendTo doesn't return inserted elements

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

Currently when calling appendTo (and similar methods) the original elements are returned - instead of the elements that were actually inserted. This means that code like this:

  $("<p/>")
    .appendTo("div")
    .addClass("test");

Will only actually add the class to the first paragraph inserted.

Attachments (0)
Change History (1)

Changed February 18, 2009 04:29PM UTC by john comment:1

resolution: → fixed
status: newclosed

Fixed in SVN rev [6239].