Opened 14 years ago
Closed 14 years ago
#4182 closed bug (fixed)
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.
Note: See
TracTickets for help on using
tickets.
Fixed in SVN rev [6239].