DOM level 1

The table below details the DOM level 1 interface methods and attributes that are supported in M-Business Client. For documentation of the full M-Business DOM 1.0 implementation, see ADOMDOMImplementation object.

For each interface listed, supported and non-supported features are indicated as follows.

  • Bold text (e.g., Attr interface): W3C DOM level 1 feature supported by M-Business Client

  • Plain text (e.g., CDATASection interface): W3C DOM level 1 feature not supported by M-Business Client

    Note

    Where M-Business JavaScript engine does not support an interface from the DOM level 1 standard, the table below does not list the individual attributes and methods from that interface.

    Note

    iAnywhere Solutions has selectively implemented a small number of DOM level 2 features, plus a few features that are not included in DOM level 2. All these extensions to DOM level 1 are documented in M-Business extensions to W3C DOM level 1.

The JavaScript synopsis for each of the supported DOM level 1 features is detailed in The W3C DOM spec and corresponding M-Business DOM calls

Table 3. Supported features from DOM level 1 spec

W3C DOM interface 

Attributes

Methods

Attr
name
specified
value

N/A

CDATASection

CharacterData
data
length
appendData()
deleteData()
insertData
replaceData
substringData
Comment

Document
doctype
documentElement
implementation
createAttribute()
createElement()
createCDATASection()
createComment()
createDocumentFragment()
createEntityReference()
createProcessingInstruction()
createTextNode()
getElementsByTagName()
DocumentFragment

DOMImplementation

N/A

hasFeature()
DocumentType

Element
tagName
getAttribute()
getAttributeNode()
getElementsByTagName()
normalize()
removeAttribute()
removeAttributeNode()
setAttribute()
setAttributeNode()
Entity

EntityReference

HTMLAnchorElement
accesskey
charset
coords
href
hreflang
name
rel
rev
shape
tabindex
target
type
blur()
focus()
HTMLAppletElement

HTMLAreaElement
accesskey
alt
coords
href
noHref
shape
tabindex
target

N/A

HTMLBaseElement

HTMLBaseFontElement

HTMLBlockquoteElement

Interface deprecated in favor of DOM level 2 HTMLQuoteElement

HTMLBodyElement
aLink
background
bgColor
link
text
vLink

N/A

HTMLBRElement
clear

N/A

HTMLButtonElement
accesskey
disabled
form
name
tabindex
type
value

N/A

HTMLCollection
length
item()
namedItem()
HTMLDirectoryElement
compact

N/A

HTMLDivElement
align

N/A

HTMLDListElement
compact

N/A

HTMLDocument
anchors
applets
body
close()
domain
forms
images
links
open()
referrer
title
URL
write()
writeln()
getElementById()
getElementsByName()
HTMLElement
className
dir
id
lang
title

N/A

HTMLFieldSetElement

HTMLFontElement
color
face
size

N/A

HTMLFormElement
acceptCharset
action
elements
enctype
length
method
name
target
reset()
submit()
HTMLFrameElement

HTMLFramesetElement

HTMLHeadElement
profile

N/A

HTMLHeadingElement
align

N/A

HTMLHRElement
align
noShade
size
width

N/A

HTMLHtmlElement
version

N/A

HTMLIFrameElement

HTMLImageElement
align
alt
border
height
hspace
isMap
longDesc
lowSrc
name
src
useMap
vspace
width

N/A

HTMLInputElement
accept
accesskey
align
alt
checked
defaultChecked
defaultValue
disabled
form
maxLength
name
readOnly
size
src
tabindex
type
useMap
value
blur()
click()
focus()
select()
HTMLIsIndexElement

HTMLLabelElement

accesskey
form
htmlFor

HTMLLegendElement

HTMLLIElement
type
value

N/A

HTMLLinkElement

HTMLMapElement
areas
name

N/A

HTMLMenuElement
compact

N/A

HTMLMetaElement
content
httpEquiv
name
scheme

N/A

HTMLModElement
cite 
dateTime

N/A

HTMLObjectElement
align
archive
border
code
codeBase
codeType
data
declare
form
height
hspace
name
standby
tabindex
type
useMap
vspace
width

N/A

HTMLOListElement
compact
start
type

N/A

HTMLOptGroupElement
interface (page 143)

HTMLOptionElement
defaultSelected
disabled
form
index
label
selected
text
value

N/A

HTMLParagraphElement
align

N/A

HTMLParamElement
name
type
value
valueType

N/A

HTMLPreElement
width

N/A

HTMLQuoteElement
cite

N/A

HTMLScriptElement
charset
defer
event
htmlFor
src
text
type

N/A

HTMLSelectElement
disabled
form
length
multiple
name
options
selectedIndex
size
tabindex
type
value
add()
blur()
focus()
remove()
HTMLStyleElement
disabled
media
type

N/A

HTMLTableCaptionElement
align

N/A

HTMLTableCellElement
abbr
align
axis
bgColor
cellIndex
ch
chOff
colSpan
headers
height
noWrap
rowSpan
scope
vAlign
width

N/A

HTMLTableColElement
align
ch
chOff
span
vAlign
width

N/A

HTMLTableElement
align
bgColor
border
caption
cellPadding
cellSpacing
frame
rows
rules
summary
tBodies
tFoot
tHead
width
createCaption()
createTFoot()
createTHead()
deleteCaption()
deleteRow()
deleteTFoot()
deleteTHead()
insertRow()
HTMLTableRowElement
align
bgColor
cells
ch
chOff
deleteCell
rowIndex
sectionRowIndex
vAlign
insertCell()
HTMLTableSectionElement
align
ch
chOff
rows
vAlign
deleteRow()
insertRow()
HTMLTextAreaElement
accesskey
cols
defaultValue
disabled
form
name
readOnly
rows
tabindex
type
value
blur()
focus()
select()
HTMLTitleElement
text

N/A

HTMLUListElement
compact
type

N/A

NamedNodeMap

Node
attributes
childNodes
firstChild
lastChild
nextSibling
nodeName
nodeType
nodeValue
ownerDocument
parentNode
previousSibling
appendChild()
cloneNode()
getAttributes() 
hasChildNodes()
insertBefore()
removeChild()
replaceChild()
NodeList
length
item()
Notation

ProcessingInstruction

Text

N/A

splitText()