JavaScript – DOM Element ownerDocument Property
The Element ownerDocument property returns the owner document of a node, as a Document object.
The Element ownerDocument property returns the owner document of a node, as a Document object.
The Element parentElement property returns the parent element of the specified element.
The JavaScript Element parentNode property returns the parent node of an element or node.
The Element previousSibling property returns the previous node on the same tree level.
The Element previousElementSibling property returns the previous element in the same tree level.
The Element querySelector() method returns the first child element that matches the specified CSS selector or selectors of an element.
The Element querySelectorAll() method returns an element’s child elements, as a static NodeList object, that match specified CSS selectors.
The Element remove() method removes an element or node from the document.
The Element removeAttribute() method removes an attribute from an element.
The Element removeAttributeNode() method removes an attribute from an element.
The Element removeChild() method removes an element’s child.
The Element removeEventListener() method removes an event handler to an element.
The Element replaceChild() method replaces a child node with a new node.
The Element scrollHeight property returns the height of an element including padding, but excluding borders, scrollbars, or margins.
The Element scrollIntoView() method scrolls an element into the visible area of the browser window.
The Element scrollLeft property sets or returns the number of pixels an element’s content is scrolled horizontally.
The Element scrollTop property sets or returns the number of pixels an element’s content is scrolled vertically.
The Element scrollWidth property returns the width of an element including padding, but excluding borders, scrollbars, or margins.
The Element setAttribute() method sets a value for an attribute.
The Element setAttributeNode() method adds an attribute node to an element, replacing existing attribute nodes.