{"json_modified": "2016-03-28T08:05:56.164175", "uuid": "84b08171-0578-41c3-aca5-7077f57e56b0", "title": "Node.setUserData()", "url": "/en-US/docs/Web/API/Node/setUserData", "tags": ["API", "Obsolete", "Reference", "Node", "DOM", "Method"], "translations": [{"uuid": "7ea87ba2-3598-4214-bc61-f3b2be79ba05", "title": "Node.setUserData()", "url": "/zh-CN/docs/Web/API/Node/setUserData", "tags": [], "summary": "The Node.setUserData()
method allows a user to attach (or remove) data to an element, without needing to modify the DOM. Note that such data will not be preserved when imported via Node.importNode
, as with Node.cloneNode()
and Node.renameNode()
operations (though Node.adoptNode
does preserve the information), and equality tests in Node.isEqualNode()
do not consider user data in making the assessment.", "localization_tags": [], "locale": "zh-CN", "last_edit": "2014-09-16T08:16:07", "review_tags": []}], "modified": "2015-08-12T23:39:03", "label": "Node.setUserData()", "localization_tags": [], "locale": "en-US", "id": 8016, "last_edit": "2015-08-12T23:38:58", "summary": "The Node.setUserData()
method allows a user to attach (or remove) data to an element, without needing to modify the DOM. Note that such data will not be preserved when imported via Node.importNode
, as with Node.cloneNode()
and Node.renameNode()
operations (though Node.adoptNode
does preserve the information), and equality tests in Node.isEqualNode()
do not consider user data in making the assessment.", "sections": [{"id": "Quick_Links", "title": null}, {"id": "Syntax", "title": "Syntax"}, {"id": "Parameters", "title": "Parameters"}, {"id": "Example", "title": "Example"}, {"id": "Specifications", "title": "Specifications"}, {"id": "Browser_compatibility", "title": "Browser compatibility"}, {"id": "See_also", "title": "See also"}], "slug": "Web/API/Node/setUserData", "review_tags": []}