Support Objects

This section describes Document Object Model (DOM) objects that are not associated with HTML elements.

For information about DOM objects associated with HTML elements, see Elements.

In this section

TopicDescription

attribute

Represents an attribute or property of an HTML element as an object.

ClientRect

Specifies a rectangle that contains a line of text in either an element or a TextRange object.

CSSFontFaceRule

Represents an @font-face rule within a Cascading Style Sheets (CSS) style sheet.

defaults

Programmatically sets default properties on an element behavior.

FormData

Contains a set of key/value pairs to send form data.

HTMLSelection

Represents the active selection, which is typically a highlighted block of text or other elements in the document. The active selection can be used to complete an action issued by a user or a script.

Image

Creates and initializes a new img element.

msIsStaticHTML

Returns a Boolean value indicating whether or not the given HTML string is safe.

Option

Creates and initializes a new option element.

selection

Note   selection is no longer supported. Starting with Internet Explorer 11, use getSelection. For info, see Compatibility changes.

Represents the active selection, which is a highlighted block of text or other elements in the document that a user or a script can carry out some action on.

ValidityState

The ValidityState object is returned by the validity attribute and provides attributes to describe the state of validation on an element, such as a missing value, a type mismatch, or that the user's input is valid.

 

 

 

Show:
© 2014 Microsoft. All rights reserved.