#3074 closed bug (invalid)
clone(true) does not appear to maintain data() within nodes
Reported by: | booshtukka | Owned by: | |
---|---|---|---|
Priority: | major | Milestone: | 1.3 |
Component: | core | Version: | 1.2.6 |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
When cloning elements, and trying to access data within those elements, it is no longer available.
A
Change History (2)
comment:1 Changed 15 years ago by
Resolution: | → invalid |
---|---|
Status: | new → closed |
comment:2 Changed 14 years ago by
I think he meant Bug #4191 - data attached via foo.data("key", value) is lost on clone(true). I've attached a demo there.
Note: See
TracTickets for help on using
tickets.
By data() you mean jQuery.data() ? If so, that is expected and actually forced.
If it wasn't jQuery.data(), do reopen and add some more detail.