#9498 closed bug (duplicate)
Element creation fails when both options map and string attributes are present.
Reported by: | cowboy | Owned by: | |
---|---|---|---|
Priority: | blocker | Milestone: | 1.next |
Component: | manipulation | Version: | 1.6.1 |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
I must be doing something wrong...
// This works $('<span foo="bar"/>'); // This works $('<span/>', {html: 'baz'}); // This dont works (error) $('<span foo="bar"/>', {html: 'baz'});
Change History (2)
comment:1 Changed 12 years ago by
Component: | unfiled → manipulation |
---|---|
Priority: | undecided → blocker |
Resolution: | → duplicate |
Status: | new → closed |
Note: See
TracTickets for help on using
tickets.
Fixed landed here: https://github.com/jquery/jquery/commit/ec829431feed29b393b1c22ca97e8af49f47e228