Results 41 - 60 of 1,243


The TreeWalker.parentNode() method moves the current Node to the first visible ancestor node in the document order, and returns the found node. If no such node exists, or if it is above the TreeWalker's root node, returns null and the current node is not changed.
API DOM DOM Reference Method TreeWalker


The TreeWalker.previousNode() method moves the current Node to the previous visible node in the document order, and returns the found node. It also moves the current node to this one. If no such node exists,or if it is before that the root node defined at the object construction, returns null and the current node is not changed.
API DOM DOM Reference Method TreeWalker


Registers the window to capture all events of the specified type.
API DOM DOM_0 Gecko Method Non-standard


Prints messages to the (native) console.
API DOM DOM_0 Method Non-standard


window.openDialog() is an extension to It behaves the same, except that it can optionally take one or more parameters past windowFeatures, and windowFeatures itself is treated a little differently.
API DOM DOM_0 Gecko Method Non-standard


Releases the window from trapping events of a specific type.
API DOM DOM_0 Method Non-standard


Scrolls the document by the given number of lines.
API DOM DOM_0 Method Non-standard Window


Returns the maximum number of pixels that the document can be scrolled horizontally.
API DOM DOM_0 Gecko Non-standard Property


An XSLTProcessor applies an XSLT stylesheet transformation to an XML document to produce a new XML document as output. It has methods to load the XSLT stylesheet, to manipulate <xsl:param> parameter values, and to apply the transformation to documents.
API DOM DOM Reference Reference XSLT


This type represents a DOM element's attribute as an object. In most DOM methods, you will probably directly retrieve the attribute as a string (e.g., Element.getAttribute(), but certain functions (e.g., Element.getAttributeNode()) or means of iterating give Attr types.
API DOM NeedsBrowserCompatibility


The Document interface represents any web page loaded in the browser and serves as an entry point into the web page's content, which is the DOM tree. The DOM tree includes elements such as <body> and <table>, among many others. It provides functionality global to the document, like how to obtain the page's URL and create new elements in the document.
API DOM Interface Reference


The Document.createAttribute() method creates a new attribute node, and returns it. The object created a node implementing the Attr interface. The DOM does not enforce what sort of attributes can be added to a particular element in this manner.
API DOM Method Reference


Returns the <script> element whose script is currently being processed.
API DOM Property Reference


The elementsFromPoint() method of the Document interface returns an array of all elements at the specified coordinates.
API DOM Reference


The loadOverlay() method loads a XUL overlay and merges it with the current document, notifying an observer when the merge is complete.
API DOM Method Reference


When a popup attached via the popup or context attributes is opened, the XUL document's popupNode property is set to the node that was clicked on. This will be the target of the mouse event that activated the popup. If the popup was opened via the keyboard, the popup node may be set to null. Typically, this property will be checked during a popupshowing event handler for a context menu to initialize the menu based on the context.
API DOM Property Reference