Modify ↓
Ticket #5404 (closed bug: fixed)
append() call with multiple args works in Firefox, drops first arg in WebKit
| Reported by: | jan@… | Owned by: | |
|---|---|---|---|
| Priority: | major | Milestone: | 1.3.2 |
| Component: | unfiled | Version: | 1.3.2 |
| Keywords: | Cc: | ||
| Blocking: | Blocked by: |
Description
A call to append() whose arguments contain a mixture of text nodes and jQuery objects will have expected behavior in Firefox 3.5.3, but not in WebKit (Chrome 3.0.195.27, Safari 4.0.3).
/* Sample, use on an HTML 5 page. */ var d = $("<div>you</div>"); $("body").append("Hey ", d, " guys");
Result in Firefox (as expected): Hey you guys
Result in WebKit (drops the first argument): you guys
Change History
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.

This works with nightly build of jQuery. The fix will roll out with 1.4.