Jesus · Bible · HTML · CSS · JS · PHP · SVG · Applications

target

Description

The target of MutationRecord for JS returns the node the mutation affected, depending on the type. For "attributes", it is the element whose attribute changed. For "characterData", it is the CharacterData node. For "childList", it is the node whose children changed.

Syntax

record.target

Examples

1

addedNodes

attributeName

attributeNamespace

nextSibling

oldValue

previousSibling

removedNodes

type

Web Hypertext Application Technology Working Group (WHATWG)

HomeMenu