Side navigation
#14114 closed bug (notabug)
Opened July 08, 2013 06:45PM UTC
Closed July 08, 2013 06:58PM UTC
Last modified July 08, 2013 07:11PM UTC
jQuery.data is missing on a removed element in a MutationObserver
Reported by: | ry@rygine.com | Owned by: | |
---|---|---|---|
Priority: | undecided | Milestone: | None |
Component: | unfiled | Version: | 2.0.3 |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
This may be the intended effect, but I recently had a use-case where I stored data on a element, and later wanted to reference that data (via MutationObserver) when the element was removed from the DOM.
Example case: http://jsfiddle.net/JN5ed/
Right, this is intended behavior. Data is cleared when elements are removed.