Results 81 - 100 of 4,668

CSSRule

The CSSRule interface represents a single CSS rule. There are several types of rules, listed in the Type constants section below.
API CSSOM Interface Reference

CSSStyleSheet

The CSSStyleSheet interface represents a single CSS style sheet. It inherits properties and methods from its parent, StyleSheet.
API CSSOM Reference

Document

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

Document.createAttribute()

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

Document.currentScript

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

Document.elementsFromPoint()

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

Document.loadOverlay()

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

Document.popupNode

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

Examples of web and XML development using the DOM

This chapter provides some longer examples of web and XML development using the DOM. Wherever possible, the examples use common APIs, tricks, and patterns in JavaScript for manipulating the document object.
DOM DOM Reference

Introduction to the DOM

This section provides a brief conceptual introduction to the DOM: what it is, how it provides structure for HTML and XML documents, how you can access it, and how this API presents the reference information and examples.
DOM Guide Reference Référence

DOMCursor.continue()

The continue method is used to tell the cursor to move to the next result. The DOMCursor's success or error is called with the DOMCursor's result updated accordingly.
API DOM Method Reference

DOMError

The DOMError interface describes an error object that contains an error name.
API DOM Interface Reference

DOMException()

The DOMException() constructor returns a DOMException object with a specified message and name.
API Constructor DOMException Reference

DOMRequest.result

This property provides the result value from a DOMRequest operation.
API DOM Property Reference

DOMRequest.error

This property can contain error information in a DOMError object.
API DOM Property Reference

DOMRequest.onerror

This property specifies a callback function to be run when a DOMRequest fails.
API DOM Property Reference