Results 41 - 60 of 64

document.getElementById()

Returns a reference to the element by its ID; the ID is a string which can be used to identify the element; it can be established using the id attribute in HTML, or from script.
API Document DOM Elements id Method Reference Web

Document.getElementsByName()

Returns a nodelist collection with a given name in the (X)HTML document.
API Document DOM HTML Method NeedsCompatTable NeedsMarkupWork Reference Référence

Document.head

Returns the <head> element of the current document. If there are more than one <head> elements, the first one is returned.
API Document HTML DOM NeedsCompatTable NeedsMarkupWork Property Reference Référence

Document.images

document.images returns a collection of the images in the current HTML document.
API Document HTML DOM NeedsCompatTable NeedsMarkupWork NeedsSpecTable Property Reference Référence

Document.lastModified

Returns a string containing the date and time on which the current document was last modified.
API Document HTML DOM NeedsCompatTable NeedsMarkupWork NeedsSpecTable Property Reference Référence

Document.location

The Document.location read-only property returns a Location object, which contains information about the URL of the document and provides methods for changing that URL and loading another URL.
API Document HTML DOM Property Read-only Reference Référence

Document.onfullscreenchange

The Document.onfullscreenchange property is an event handler for the fullscreenchange event that is fire when a document goes in or out of the fullscreen mode.
API Document Event Handler Fullscreen API Property Reference

Document.onfullscreenerror

The Document.onfullscreenerror property is an event handler for the fullscreenchange event that is fire when a document goes that cannot go in fullscreen mode, even it has been requested.
API Document Event Handler Fullscreen API Property Reference

Document.preferredStyleSheetSet

Returns the preferred style sheet set as set by the page author.
API CSSOM Document DOM Property Reference Référence Stylesheets

Document.scripts

Returns a list of the <script> elements in the document. The returned object is an HTMLCollection.
API Document HTML DOM NeedsExample NeedsMarkupWork Property Reference Référence

Document.visibilityState

The Document.visibilityState read-only property returns the visibility of the document, that is in which context this element is now visible. It is useful to know if the document is in the background or an invisible tab, or only loaded for pre-rendering. Possible values are:
Document DOM Page Visibility API Property Read-only Reference Web

<link>

The HTML <link> element specifies relationships between the current document and an external resource. Possible uses for this element include defining a relational framework for navigation. This Element is most used to link to style sheets.
Element HTML HTML document metadata metadata Reference Web

Working with objects

JavaScript is designed on a simple object-based paradigm. An object is a collection of properties, and a property is an association between a name (or key) and a value. A property's value can be a function, in which case the property is known as a method. In addition to objects that are predefined in the browser, you can define your own objects. This chapter describes how to use objects, properties, functions, and methods, and how to create your own objects.
beginner Beginner Comparing object Constructor Document Guide JavaScript Object

Document.designMode

document.designMode controls whether the entire document is editable. Valid values are "on" and "off". According to the specification, this property is meant to default to "off". Firefox follows this standard. The earlier versions of Chrome and IE default to "inherit". Starting in Chrome 43, the default is "off" and "inherit" is no longer supported. In IE6-10, the value is capitalized. 
API Document editor HTML DOM NeedsBrowserCompatibility NeedsContent NeedsSpecTable Property Reference Référence

Document.domain

Gets/sets the domain portion of the origin of the current document, as used by the same origin policy.
API Document HTML DOM NeedsCompatTable NeedsMarkupWork NeedsSpecTable NeedsUpdate Property Reference Référence

Document.height

Returns the height of the document object. In most cases, this is equal to the <body> element of the current document.
API Document HTML DOM NeedsBrowserAgnosticism NeedsCompatTable NeedsMarkupWork NeedsSpecTable Property Reference Référence