MSDN Library
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

Common Properties, Methods and Collections for the HTML Elements in Internet Explorer Mobile

Windows Mobile 6.5
A version of this page is also available for
4/8/2010

This topic shows the common properties, methods and collections that are associated with all the elements that are in the Document Object Model (DOM).

Bb415488.note(en-us,MSDN.10).gifNote:
These properties are only supported in Windows Mobile Version 5.0 and later versions.

The following table shows the properties that apply to all the elements that are in the DOM.

Property Type/Argument Access

childNodes

NodeList

Read-only

className

String

Read/Write

currentStyle

Object

Read-only

dir

Not available

Not supported

document

Object

Read-only

expando

Not available

Bb415488.note(en-us,MSDN.10).gifNote:
See Expansion of the object's properties

id

String

Read/Write

innerHTML

String

Read/Write

innerText

String

Read/Write

lang

Not available

Not supported

parentElement

Object

Read-only

parentNode

Node

Read-only

style

Object

Read-only

tagName

String

Read-only

title

Not available

Not supported

All objects now react as if the expando property were set to true. However, the expando property is not been implemented.

This means that all objects can now have user-defined properties added to them. Therefore, any reference to an unknown property for an object will create that property should it not already exist for that object. This means that care is required with upper and lowercase letters in properties. For example, innerhtml will not be the same property as innerHTML. Also the effect of object.expando=false will create or set a user-defined property that is named expando.

The following table shows the methods that apply to all the elements that are in the DOM:

Method Comments

appendChild

Syntax:

element.appendChild(node)

  • Insert the given node as the last child node for this element.
  • Returns the value of the appended Node.

insertBefore

Syntax:

element.insertBefore(node)

  • Insert the given node as the last child node for this element.

removeChild

Syntax:

element.removeChild(node)

  • Remove the given child node from this element.
  • Returns the value of the removed Node.

replaceChild

Syntax:

element.replaceChild(insertNode, replacedNode)

  • Replace the given replacedNode with the insertNode in the list of nodes for this element.
  • Returns the value of the replaced node.

The following table shows the collections that apply to all the elements that are in the DOM:

Collection Type/Argument Access

Children

Not available

N/A 

   Length

Long

Read-only

   Item

([optional] variant name, [optional] variant index)

Supported

Community Additions

Show:
© 2016 Microsoft