Method | Description |
---|
addBehavior |
Attaches a behavior to the element. |
appendChild |
Appends an element as a child to the object. |
appendData |
Adds a new character string to the end of the object. |
applyElement |
Makes the element either a child or parent of another element. |
attachEvent |
Binds the specified function to an event, so that the function gets called whenever the event fires on the object. |
clearAttributes |
Removes all attributes and values from the object. |
cloneNode |
Copies a reference to the object from the document hierarchy. |
componentFromPoint |
Returns the component located at the specified coordinates via certain events. |
deleteData |
Removes a specified range of characters from the object. |
detachEvent |
Unbinds the specified function from the event, so that the function stops receiving notifications when the event fires. |
dragDrop |
Initiates a drag event. |
fireEvent |
Fires a specified event on the object. |
getAdjacentText |
Returns the adjacent text string. |
getAttribute |
Retrieves the value of the specified attribute. |
getAttributeNode |
Gets an attribute object referenced by the attribute.name property. |
getBoundingClientRect |
Retrieves an object that specifies the bounds of a collection of TextRectangle objects. |
getClientRects |
Retrieves a collection of rectangles that describes the layout of the contents of an object or range within the client. Each rectangle describes a single line. |
hasChildNodes |
Returns a value that indicates whether the object has children. |
insertAdjacentElement |
Inserts an element at the specified location. |
insertAdjacentHTML |
Inserts the given HTML text into the element at the location. |
insertAdjacentText |
Inserts the given text into the element at the specified location. |
insertBefore |
Inserts an element into the document hierarchy as a child node of a parent object. |
insertData |
Inserts a new character string in the object at a specified offset. |
mergeAttributes |
Copies all read/write attributes to the specified element. |
normalize |
Merges adjacent TextNode objects to produce a normalized document object model. |
removeAttribute |
Removes the given attribute from the object. |
removeAttributeNode |
Removes an attribute object from the object. |
removeBehavior |
Detaches a behavior from the element. |
removeChild |
Removes a child node from the object. |
removeNode |
Removes the object from the document hierarchy. |
replaceAdjacentText |
Replaces the text adjacent to the element. |
replaceChild |
Replaces an existing child element with a new child element. |
replaceData |
Replaces a specified range of characters in the object with a new character string. |
replaceNode |
Replaces the object with another element. |
scrollIntoView |
Causes the object to scroll into view, aligning it either at the top or bottom of the window. |
setAttribute |
Sets the value of the specified attribute. |
setAttributeNode |
Sets an attribute object node as part of the object. |
substringData |
Extracts a range of characters from the object. |
swapNode |
Exchanges the location of two objects in the document hierarchy. |