129 documents found for "getelementbyid" in English (US). Showing results 1 to 10.
The Document method getElementById() returns an Element object representing the element whose id property matches the specified string. Since element IDs are required to be unique if specified, they're a useful way to get access to a specific element quickly.
developer.mozilla.org/en-US/docs/Web/API/Document/getElementById
embeds returns a list of the embedded OBJECTS within the current document.
developer.mozilla.org/en-US/docs/Web/API/Document/embeds
The Document object has properties for accessing collections of elements, such as document.images and document.forms. Some browsers have non-standard properties, such as Internet Explorer's document.all[], that are not part of the W3C Document Object Model (DOM) standards and may cause JavaScript errors in standards-compliant browsers.
developer.mozilla.org/en-US/docs/Archive/Using_Web_Standards_in_your_Web_Pages/Using_the_W3C_DOM
In browsers, document.defaultView returns the window object associated with a document, or null if none is available.
developer.mozilla.org/en-US/docs/Web/API/Document/defaultView
This event handler is called when an offline is fired on body and bubbles up, when navigator.onLine property changes and becomes false.
developer.mozilla.org/en-US/docs/Web/API/Document/onoffline
This method functions identically to the Window.getSelection() method; it returns a Selection object representing the text currently selected in the document.
developer.mozilla.org/en-US/docs/Web/API/Document/getSelection
The Document constructor creates a new Document object which is a web page loaded in the browser and serving as an entry point into the page's content.
developer.mozilla.org/en-US/docs/Web/API/Document/Document
The DOM provides various functions to modify the document.
developer.mozilla.org/en-US/docs/Mozilla/Tech/XUL/Tutorial/Modifying_a_XUL_Interface
Returns the height of the document object. In most cases, this is equal to the body element of the current document.
developer.mozilla.org/en-US/docs/Web/API/Document/height
This method compiles an XPathExpression which can then be used for (repeated) evaluations.
developer.mozilla.org/en-US/docs/Web/API/Document/createExpression