Web site layout - JavaScript Programmer’s Reference See also: MutationEvent.attrChange, MutationEvent.attrName, MutationEvent.prevValue

JavaScript Programmer’s Reference See also: MutationEvent.attrChange, MutationEvent.attrName, MutationEvent.prevValue Property attributes: ReadOnly. MutationEvent.prevValue (Property) When an attribute changes, the old attribute value is available here. DOM level 2 JavaScript 1.5 Netscape 6.0 Availability: Property/method value type: JavaScript syntax: String primitive myMutationEvent.prevValue N This value preserves the old attribute value so you can restore it into the attribute if you inspect the new value and find that it is inappropriate. See also: MutationEvent.attrChange, MutationEvent.attrName, MutationEvent.newValue Property attributes: ReadOnly. MutationEvent.relatedNode (Property) A Node object is referred to here which can be used to perform contextual examination of the event. DOM level 2 JavaScript 1.5 Netscape 6.0 Node object myMutationEvent.relatedNode N Availability: Property/method value type: JavaScript syntax: For attribute changes, this should contain a reference to the node that owned the attribute that was changed. Other operations such as node addition or removal may contain parent nodes or indeed the node that has just been added during an insertion. See also: Node object, Node.parentNode Property attributes: ReadOnly. 1476

Leave a Reply