Results 1 - 4 of 4


Returns an array-like object of all child elements which have all of the given class names. When called on the document object, the complete document is searched, including the root node. You may also call getElementsByClassName() on any element; it will return only elements which are descendants of the specified root element with the given class names.
API DOM DOM Element Methods Gecko HTML5 Method Reference Référence


insertAdjacentHTML() parses the specified text as HTML or XML and inserts the resulting nodes into the DOM tree at a specified position. It does not reparse the element it is being used on and thus it does not corrupt the existing elements inside the element. This, and avoiding the extra step of serialization make it much faster than direct innerHTML manipulation.
API DOM DOM Element Methods Gecko Method Reference Référence


Dispatches an Event at the specified EventTarget, invoking the affected EventListeners in the appropriate order. The normal event processing rules (including the capturing and optional bubbling phase) also apply to events dispatched manually with dispatchEvent().
API DOM DOM Element Methods Gecko Method NeedsBrowserCompatibility NeedsMobileBrowserCompatibility


The EventTarget.removeEventListener() method removes the event listener previously registered with EventTarget.addEventListener().
API browser compatibility DOM DOM Element Methods Gecko Method Reference