Results 181 - 200 of 1,752

Document.createElement()

In an HTML document, the Document.createElement() method creates the specified HTML element or an HTMLUnknownElement if the given element name isn't a known one.
API Document DOM Method Reference Référence

Document.createNSResolver()

Creates an XPathNSResolver which resolves namespaces with respect to the definitions in scope for a specified node.
API DOM DOM Reference Method Reference Référence

Document.createProcessingInstruction()

createProcessingInstruction() creates a new processing instruction node, and returns it.
API DOM Method NeedsBrowserCompatibility NeedsCompatTable Reference Référence

Document.doctype

Returns the Document Type Declaration (DTD) associated with current document. The returned object implements the DocumentType interface. Use DOMImplementation.createDocumentType() to create a DocumentType.
API Document DOM Property Reference Référence

Document.documentElement

The Document.documentElement read-only property returns the Element that is the root element of the document (for example, the <html> element for HTML documents).
API DOM Property Read-only Reference Référence

Document.getSelection()

This method functions identically to the Window.getSelection() method; it returns a Selection object representing the text currently selected in the document.
API Document DOM Method Reference Référence Selection

Document.hasFocus()

false if the active element in the document has no focus; true if the active element in the document has focus.
API DOM Focus Method NeedsBrowserCompatibility Reference Référence

Document.implementation

Returns a DOMImplementation object associated with the current document.
API DOM NeedsContent Property Reference Référence

Document.importNode()

Creates a copy of a node from an external document that can be inserted into the current document.
API Document DOM Method Node Reference Référence

Document.lastStyleSheetSet

Returns the last enabled style sheet set; this property's value changes whenever the document.selectedStyleSheetSet property is changed.
API CSSOM DOM Property Reference Référence Stylesheets

Document.links

The links property returns a collection of all <area> elements and <a> elements in a document with a value for the href attribute.
API Document HTML DOM Property Reference Référence

Document.onbeforescriptexecute

Fired when the code in a <script> element declared in an HTML document is about to start executing. Does not fire if the element is added dynamically, eg with appendChild().
API DOM element.onbeforescriptexecute Property Reference Référence

Document.onoffline

This event handler is called when an offline is fired on body and bubbles up, when navigator.onLine property changes and becomes false.
API DOM NeedsContent Property Reference Référence

Document.ononline

"online" event is fired on the <body> of each page when the browser switches between online and offline mode. Additionally, the events bubble up from document.body, to document, ending at window. Both events are non-cancellable (you can't prevent the user from coming online, or going offline).
API Document DOM Property Reference Référence

Document.plugins

Returns an HTMLCollection object containing one or more HTMLEmbedElements or null which represent the <embed> elements in the current document.
API Document NeedsCompatTable NeedsMarkupWork Property Reference Référence