This topic has not yet been rated - Rate this topic

nextID object

[This documentation is preliminary and is subject to change.]

Creates unique identifiers that text editing software can read.

This object is not supported for Metro style apps using JavaScript

Standards information

Members

The nextID object has these types of members:

Methods

The nextID object has these methods.

MethodDescription
addBehavior

Attaches a behavior to the element.

applyElement

Makes the element either a child or parent of another element.

clearAttributes

Removes all attributes and values from the object.

click

Simulates a click by causing the onclick event to fire.

componentFromPoint

Returns the component located at the specified coordinates via certain events.

contains

Checks whether the given element is contained within the object.

doScroll

Simulates a click on a scroll bar component.

getAttribute

Retrieves the value of the specified attribute.

getBoundingClientRect

Retrieves an object that specifies the bounds of a collection of TextRectangle objects.

getClientRects

Retrieves a collection of rectangles that describes the layout of the contents of an object or range within the client. Each rectangle describes a single line.

getElementsByClassName

Gets a collection of objects that are based on the value of the CLASS attribute.

hasAttributes

Determines whether one or more attributes exist for the object.

mergeAttributes

Copies all read/write attributes to the specified element.

msMatchesSelector

Determines whether an object matches the specified selector.

removeAttribute

Removes an attribute from an object.

replaceAdjacentText

Replaces the text adjacent to the element.

setActive

Sets the object as active without setting focus to the object.

setAttribute

Sets the value of the specified attribute.

 

Properties

The nextID object has these properties.

PropertyDescription

ATOMICSELECTION

Specifies whether the element and its contents must be selected as a whole, indivisible unit.

attributes

Retrieves a collection of attributes of the object.

canHaveChildren

Gets a value indicating whether the object can contain child objects.

canHaveHTML

Retrieves the value indicating whether the object can contain rich HTML markup.

className

Sets or retrieves the class of the object.

id

Sets or retrieves the string identifying the object.

innerHTML

Sets or retrieves the HTML between the start and end tags of the object.

innerText

Sets or retrieves the text between the start and end tags of the object.

isContentEditable

Gets the value that indicates whether the user can edit the contents of the object.

isDisabled

Gets the value that indicates whether the user can interact with the object.

isMultiLine

Retrieves the value indicating whether the content of the object contains one or more lines.

lang

Sets or retrieves the language to use.

language

Sets or retrieves the language in which the current script is written.

offsetHeight

Retrieves the height of the object relative to the layout or coordinate parent, as specified by the offsetParent property.

offsetParent

Retrieves a reference to the container object that defines the offsetTop and offsetLeft properties of the object.

offsetWidth

Retrieves the width of the object relative to the layout or coordinate parent, as specified by the offsetParent property.

outerHTML

Sets or retrieves the object and its content in HTML.

outerText

Sets or retrieves the text of the object.

readyState

Retrieves the current state of the object.

role

Sets or retrieves the role for this element.

sourceIndex

Retrieves the ordinal position of the object, in source order, as the object appears in the document's all collection.

tagName

Retrieves the tag name of the object.

tagUrn

Sets or gets the URN specified in the namespace declaration.

title

Sets or retrieves advisory information (a ToolTip) for the object.

uniqueNumber

Retrieves the element's unique number.

 

Remarks

This element can be used only within the head element.

 

 

Build date: 3/8/2012

Did you find this helpful?
(1500 characters remaining)
Community Content Add
Annotations FAQ