29 September, 2000

Appendix D: ECMA Script Language Binding

This appendix contains the complete ECMA Script binding for the Level 1 Document Object Model definitions. The definitions are divided into Core and HTML.

D.1: Document Object Model Level 1 Core

Object DOMImplementation
The DOMImplementation object has the following methods:
hasFeature(feature, version)
This method returns a Boolean.
The feature parameter is of type String.
The version parameter is of type String.
Object DocumentFragment
DocumentFragment has the all the properties and methods of the Node object as well as the properties and methods defined below.
Object Document
Document has the all the properties and methods of the Node object as well as the properties and methods defined below.
The Document object has the following properties:
doctype
This read-only property is a DocumentType object.
implementation
This read-only property is a DOMImplementation object.
documentElement
This read-only property is a Element object.
The Document object has the following methods:
createElement(tagName)
This method returns a Element object.
The tagName parameter is of type String.
createDocumentFragment()
This method returns a DocumentFragment object.
createTextNode(data)
This method returns a Text object.
The data parameter is of type String.
createComment(data)
This method returns a Comment object.
The data parameter is of type String.
createCDATASection(data)
This method returns a CDATASection object.
The data parameter is of type String.
createProcessingInstruction(target, data)
This method returns a ProcessingInstruction object.
The target parameter is of type String.
The data parameter is of type String.
createAttribute(name)
This method returns a Attr object.
The name parameter is of type String.
createEntityReference(name)
This method returns a EntityReference object.
The name parameter is of type String.
getElementsByTagName(tagname)
This method returns a NodeList object.
The tagname parameter is of type String.
Prototype Object Node
The Node class has the following constants:
Node.ELEMENT_NODE
This constant is of type Number and its value is 1.
Node.ATTRIBUTE_NODE
This constant is of type Number and its value is 2.
Node.TEXT_NODE
This constant is of type Number and its value is 3.
Node.CDATA_SECTION_NODE
This constant is of type Number and its value is 4.
Node.ENTITY_REFERENCE_NODE
This constant is of type Number and its value is 5.
Node.ENTITY_NODE
This constant is of type Number and its value is 6.
Node.PROCESSING_INSTRUCTION_NODE
This constant is of type Number and its value is 7.
Node.COMMENT_NODE
This constant is of type Number and its value is 8.
Node.DOCUMENT_NODE
This constant is of type Number and its value is 9.
Node.DOCUMENT_TYPE_NODE
This constant is of type Number and its value is 10.
Node.DOCUMENT_FRAGMENT_NODE
This constant is of type Number and its value is 11.
Node.NOTATION_NODE
This constant is of type Number and its value is 12.
Object Node
The Node object has the following properties:
nodeName
This read-only property is of type String.
nodeValue
This property is of type String.
nodeType
This read-only property is of type Number.
parentNode
This read-only property is a Node object.
childNodes
This read-only property is a NodeList object.
firstChild
This read-only property is a Node object.
lastChild
This read-only property is a Node object.
previousSibling
This read-only property is a Node object.
nextSibling
This read-only property is a Node object.
attributes
This read-only property is a NamedNodeMap object.
ownerDocument
This read-only property is a Document object.
The Node object has the following methods:
insertBefore(newChild, refChild)
This method returns a Node object.
The newChild parameter is a Node object.
The refChild parameter is a Node object.
replaceChild(newChild, oldChild)
This method returns a Node object.
The newChild parameter is a Node object.
The oldChild parameter is a Node object.
removeChild(oldChild)
This method returns a Node object.
The oldChild parameter is a Node object.
appendChild(newChild)
This method returns a Node object.
The newChild parameter is a Node object.
hasChildNodes()
This method returns a Boolean.
cloneNode(deep)
This method returns a Node object.
The deep parameter is of type Boolean.
Object NodeList
The NodeList object has the following properties:
length
This read-only property is of type Number.
The NodeList object has the following methods:
item(index)
This method returns a Node object.
The index parameter is of type Number.
Note: This object can also be dereferenced using square bracket notation (e.g. obj[1]). Dereferencing with an integer index is equivalent to invoking the item method with that index.
Object NamedNodeMap
The NamedNodeMap object has the following properties:
length
This read-only property is of type Number.
The NamedNodeMap object has the following methods:
getNamedItem(name)
This method returns a Node object.
The name parameter is of type String.
setNamedItem(arg)
This method returns a Node object.
The arg parameter is a Node object.
removeNamedItem(name)
This method returns a Node object.
The name parameter is of type String.
item(index)
This method returns a Node object.
The index parameter is of type Number.
Note: This object can also be dereferenced using square bracket notation (e.g. obj[1]). Dereferencing with an integer index is equivalent to invoking the item method with that index.
Object CharacterData
CharacterData has the all the properties and methods of the Node object as well as the properties and methods defined below.
The CharacterData object has the following properties:
data
This property is of type String.
length
This read-only property is of type Number.
The CharacterData object has the following methods:
substringData(offset, count)
This method returns a String.
The offset parameter is of type Number.
The count parameter is of type Number.
appendData(arg)
This method has no return value.
The arg parameter is of type String.
insertData(offset, arg)
This method has no return value.
The offset parameter is of type Number.
The arg parameter is of type String.
deleteData(offset, count)
This method has no return value.
The offset parameter is of type Number.
The count parameter is of type Number.
replaceData(offset, count, arg)
This method has no return value.
The offset parameter is of type Number.
The count parameter is of type Number.
The arg parameter is of type String.
Object Attr
Attr has the all the properties and methods of the Node object as well as the properties and methods defined below.
The Attr object has the following properties:
name
This read-only property is of type String.
specified
This read-only property is of type Boolean.
value
This property is of type String.
Object Element
Element has the all the properties and methods of the Node object as well as the properties and methods defined below.
The Element object has the following properties:
tagName
This read-only property is of type String.
The Element object has the following methods:
getAttribute(name)
This method returns a String.
The name parameter is of type String.
setAttribute(name, value)
This method has no return value.
The name parameter is of type String.
The value parameter is of type String.
removeAttribute(name)
This method has no return value.
The name parameter is of type String.
getAttributeNode(name)
This method returns a Attr object.
The name parameter is of type String.
setAttributeNode(newAttr)
This method returns a Attr object.
The newAttr parameter is a Attr object.
removeAttributeNode(oldAttr)
This method returns a Attr object.
The oldAttr parameter is a Attr object.
getElementsByTagName(name)
This method returns a NodeList object.
The name parameter is of type String.
normalize()
This method has no return value.
Object Text
Text has the all the properties and methods of the CharacterData object as well as the properties and methods defined below.
The Text object has the following methods:
splitText(offset)
This method returns a Text object.
The offset parameter is of type Number.
Object Comment
Comment has the all the properties and methods of the CharacterData object as well as the properties and methods defined below.
Object CDATASection
CDATASection has the all the properties and methods of the Text object as well as the properties and methods defined below.
Object DocumentType
DocumentType has the all the properties and methods of the Node object as well as the properties and methods defined below.
The DocumentType object has the following properties:
name
This read-only property is of type String.
entities
This read-only property is a NamedNodeMap object.
notations
This read-only property is a NamedNodeMap object.
Object Notation
Notation has the all the properties and methods of the Node object as well as the properties and methods defined below.
The Notation object has the following properties:
publicId
This read-only property is of type String.
systemId
This read-only property is of type String.
Object Entity
Entity has the all the properties and methods of the Node object as well as the properties and methods defined below.
The Entity object has the following properties:
publicId
This read-only property is of type String.
systemId
This read-only property is of type String.
notationName
This read-only property is of type String.
Object EntityReference
EntityReference has the all the properties and methods of the Node object as well as the properties and methods defined below.
Object ProcessingInstruction
ProcessingInstruction has the all the properties and methods of the Node object as well as the properties and methods defined below.
The ProcessingInstruction object has the following properties:
target
This read-only property is of type String.
data
This property is of type String.

D.2: Document Object Model Level 1 HTML

Object HTMLCollection
The HTMLCollection object has the following properties:
length
This read-only property is of type Number.
The HTMLCollection object has the following methods:
item(index)
This method returns a Node object.
The index parameter is of type Number.
Note: This object can also be dereferenced using square bracket notation (e.g. obj[1]). Dereferencing with an integer index is equivalent to invoking the item method with that index.
namedItem(name)
This method returns a Node object.
The name parameter is of type String.
Note: This object can also be dereferenced using square bracket notation (e.g. obj["foo"]). Dereferencing using a string index is equivalent to invoking the namedItem method with that index.
Object HTMLDocument
HTMLDocument has the all the properties and methods of the Document object as well as the properties and methods defined below.
The HTMLDocument object has the following properties:
title
This property is of type String.
referrer
This read-only property is of type String.
domain
This read-only property is of type String.
URL
This read-only property is of type String.
body
This property is a HTMLElement object.
images
This read-only property is a HTMLCollection object.
applets
This read-only property is a HTMLCollection object.
links
This read-only property is a HTMLCollection object.
forms
This read-only property is a HTMLCollection object.
anchors
This read-only property is a HTMLCollection object.
cookie
This property is of type String.
The HTMLDocument object has the following methods:
open()
This method has no return value.
close()
This method has no return value.
write(text)
This method has no return value.
The text parameter is of type String.
writeln(text)
This method has no return value.
The text parameter is of type String.
getElementById(elementId)
This method returns a Element object.
The elementId parameter is of type String.
getElementsByName(elementName)
This method returns a NodeList object.
The elementName parameter is of type String.
Object HTMLElement
HTMLElement has the all the properties and methods of the Element object as well as the properties and methods defined below.
The HTMLElement object has the following properties:
id
This property is of type String.
title
This property is of type String.
lang
This property is of type String.
dir
This property is of type String.
className
This property is of type String.
Object HTMLHtmlElement
HTMLHtmlElement has the all the properties and methods of the HTMLElement object as well as the properties and methods defined below.
The HTMLHtmlElement object has the following properties:
version
This property is of type String.
Object HTMLHeadElement
HTMLHeadElement has the all the properties and methods of the HTMLElement object as well as the properties and methods defined below.
The HTMLHeadElement object has the following properties:
profile
This property is of type String.
Object HTMLLinkElement
HTMLLinkElement has the all the properties and methods of the HTMLElement object as well as the properties and methods defined below.
The HTMLLinkElement object has the following properties:
disabled
This property is of type Boolean.
charset
This property is of type String.
href
This property is of type String.
hreflang
This property is of type String.
media
This property is of type String.
rel
This property is of type String.
rev
This property is of type String.
target
This property is of type String.
type
This property is of type String.
Object HTMLTitleElement
HTMLTitleElement has the all the properties and methods of the HTMLElement object as well as the properties and methods defined below.
The HTMLTitleElement object has the following properties:
text
This property is of type String.
Object HTMLMetaElement
HTMLMetaElement has the all the properties and methods of the HTMLElement object as well as the properties and methods defined below.
The HTMLMetaElement object has the following properties:
content
This property is of type String.
httpEquiv
This property is of type String.
name
This property is of type String.
scheme
This property is of type String.
Object HTMLBaseElement
HTMLBaseElement has the all the properties and methods of the HTMLElement object as well as the properties and methods defined below.
The HTMLBaseElement object has the following properties:
href
This property is of type String.
target
This property is of type String.
Object HTMLIsIndexElement
HTMLIsIndexElement has the all the properties and methods of the HTMLElement object as well as the properties and methods defined below.
The HTMLIsIndexElement object has the following properties:
form
This read-only property is a HTMLFormElement object.
prompt
This property is of type String.
Object HTMLStyleElement
HTMLStyleElement has the all the properties and methods of the HTMLElement object as well as the properties and methods defined below.
The HTMLStyleElement object has the following properties:
disabled
This property is of type Boolean.
media
This property is of type String.
type
This property is of type String.
Object HTMLBodyElement
HTMLBodyElement has the all the properties and methods of the HTMLElement object as well as the properties and methods defined below.
The HTMLBodyElement object has the following properties:
aLink
This property is of type String.
background
This property is of type String.
bgColor
This property is of type String.
link
This property is of type String.
text
This property is of type String.
vLink
This property is of type String.
Object HTMLFormElement
HTMLFormElement has the all the properties and methods of the HTMLElement object as well as the properties and methods defined below.
The HTMLFormElement object has the following properties:
elements
This read-only property is a HTMLCollection object.
length
This read-only property is a long object.
name
This property is of type String.
acceptCharset
This property is of type String.
action
This property is of type String.
enctype
This property is of type String.
method
This property is of type String.
target
This property is of type String.
The HTMLFormElement object has the following methods:
submit()
This method has no return value.
reset()
This method has no return value.
Object HTMLSelectElement
HTMLSelectElement has the all the properties and methods of the HTMLElement object as well as the properties and methods defined below.
The HTMLSelectElement object has the following properties:
type
This read-only property is of type String.
selectedIndex
This property is a long object.
value
This property is of type String.
length
This read-only property is a long object.
form
This read-only property is a HTMLFormElement object.
options
This read-only property is a HTMLCollection object.
disabled
This property is of type Boolean.
multiple
This property is of type Boolean.
name
This property is of type String.
size
This property is a long object.
tabIndex
This property is a long object.
The HTMLSelectElement object has the following methods:
add(element, before)
This method has no return value.
The element parameter is a HTMLElement object.
The before parameter is a HTMLElement object.
remove(index)
This method has no return value.
The index parameter is a long object.
blur()
This method has no return value.
focus()
This method has no return value.
Object HTMLOptGroupElement
HTMLOptGroupElement has the all the properties and methods of the HTMLElement object as well as the properties and methods defined below.
The HTMLOptGroupElement object has the following properties:
disabled
This property is of type Boolean.
label
This property is of type String.
Object HTMLOptionElement
HTMLOptionElement has the all the properties and methods of the HTMLElement object as well as the properties and methods defined below.
The HTMLOptionElement object has the following properties:
form
This read-only property is a HTMLFormElement object.
defaultSelected
This property is of type Boolean.
text
This read-only property is of type String.
index
This read-only property is a long object.
disabled
This property is of type Boolean.
label
This property is of type String.
selected
This property is of type Boolean.
value
This property is of type String.
Object HTMLInputElement
HTMLInputElement has the all the properties and methods of the HTMLElement object as well as the properties and methods defined below.
The HTMLInputElement object has the following properties:
defaultValue
This property is of type String.
defaultChecked
This property is of type Boolean.
form
This read-only property is a HTMLFormElement object.
accept
This property is of type String.
accessKey
This property is of type String.
align
This property is of type String.
alt
This property is of type String.
checked
This property is of type Boolean.
disabled
This property is of type Boolean.
maxLength
This property is a long object.
name
This property is of type String.
readOnly
This property is of type Boolean.
size
This property is of type String.
src
This property is of type String.
tabIndex
This property is a long object.
type
This read-only property is of type String.
useMap
This property is of type String.
value
This property is of type String.
The HTMLInputElement object has the following methods:
blur()
This method has no return value.
focus()
This method has no return value.
select()
This method has no return value.
click()
This method has no return value.
Object HTMLTextAreaElement
HTMLTextAreaElement has the all the properties and methods of the HTMLElement object as well as the properties and methods defined below.
The HTMLTextAreaElement object has the following properties:
defaultValue
This property is of type String.
form
This read-only property is a HTMLFormElement object.
accessKey
This property is of type String.
cols
This property is a long object.
disabled
This property is of type Boolean.
name
This property is of type String.
readOnly
This property is of type Boolean.
rows
This property is a long object.
tabIndex
This property is a long object.
type
This read-only property is of type String.
value
This property is of type String.
The HTMLTextAreaElement object has the following methods:
blur()
This method has no return value.
focus()
This method has no return value.
select()
This method has no return value.
Object HTMLButtonElement
HTMLButtonElement has the all the properties and methods of the HTMLElement object as well as the properties and methods defined below.
The HTMLButtonElement object has the following properties:
form
This read-only property is a HTMLFormElement object.
accessKey
This property is of type String.
disabled
This property is of type Boolean.
name
This property is of type String.
tabIndex
This property is a long object.
type
This read-only property is of type String.
value
This property is of type String.
Object HTMLLabelElement
HTMLLabelElement has the all the properties and methods of the HTMLElement object as well as the properties and methods defined below.
The HTMLLabelElement object has the following properties:
form
This read-only property is a HTMLFormElement object.
accessKey
This property is of type String.
htmlFor
This property is of type String.
Object HTMLFieldSetElement
HTMLFieldSetElement has the all the properties and methods of the HTMLElement object as well as the properties and methods defined below.
The HTMLFieldSetElement object has the following properties:
form
This read-only property is a HTMLFormElement object.
Object HTMLLegendElement
HTMLLegendElement has the all the properties and methods of the HTMLElement object as well as the properties and methods defined below.
The HTMLLegendElement object has the following properties:
form
This read-only property is a HTMLFormElement object.
accessKey
This property is of type String.
align
This property is of type String.
Object HTMLUListElement
HTMLUListElement has the all the properties and methods of the HTMLElement object as well as the properties and methods defined below.
The HTMLUListElement object has the following properties:
compact
This property is of type Boolean.
type
This property is of type String.
Object HTMLOListElement
HTMLOListElement has the all the properties and methods of the HTMLElement object as well as the properties and methods defined below.
The HTMLOListElement object has the following properties:
compact
This property is of type Boolean.
start
This property is a long object.
type
This property is of type String.
Object HTMLDListElement
HTMLDListElement has the all the properties and methods of the HTMLElement object as well as the properties and methods defined below.
The HTMLDListElement object has the following properties:
compact
This property is of type Boolean.
Object HTMLDirectoryElement
HTMLDirectoryElement has the all the properties and methods of the HTMLElement object as well as the properties and methods defined below.
The HTMLDirectoryElement object has the following properties:
compact
This property is of type Boolean.
Object HTMLMenuElement
HTMLMenuElement has the all the properties and methods of the HTMLElement object as well as the properties and methods defined below.
The HTMLMenuElement object has the following properties:
compact
This property is of type Boolean.
Object HTMLLIElement
HTMLLIElement has the all the properties and methods of the HTMLElement object as well as the properties and methods defined below.
The HTMLLIElement object has the following properties:
type
This property is of type String.
value
This property is a long object.
Object HTMLDivElement
HTMLDivElement has the all the properties and methods of the HTMLElement object as well as the properties and methods defined below.
The HTMLDivElement object has the following properties:
align
This property is of type String.
Object HTMLParagraphElement
HTMLParagraphElement has the all the properties and methods of the HTMLElement object as well as the properties and methods defined below.
The HTMLParagraphElement object has the following properties:
align
This property is of type String.
Object HTMLHeadingElement
HTMLHeadingElement has the all the properties and methods of the HTMLElement object as well as the properties and methods defined below.
The HTMLHeadingElement object has the following properties:
align
This property is of type String.
Object HTMLQuoteElement
HTMLQuoteElement has the all the properties and methods of the HTMLElement object as well as the properties and methods defined below.
The HTMLQuoteElement object has the following properties:
cite
This property is of type String.
Object HTMLPreElement
HTMLPreElement has the all the properties and methods of the HTMLElement object as well as the properties and methods defined below.
The HTMLPreElement object has the following properties:
width
This property is a long object.
Object HTMLBRElement
HTMLBRElement has the all the properties and methods of the HTMLElement object as well as the properties and methods defined below.
The HTMLBRElement object has the following properties:
clear
This property is of type String.
Object HTMLBaseFontElement
HTMLBaseFontElement has the all the properties and methods of the HTMLElement object as well as the properties and methods defined below.
The HTMLBaseFontElement object has the following properties:
color
This property is of type String.
face
This property is of type String.
size
This property is of type String.
Object HTMLFontElement
HTMLFontElement has the all the properties and methods of the HTMLElement object as well as the properties and methods defined below.
The HTMLFontElement object has the following properties:
color
This property is of type String.
face
This property is of type String.
size
This property is of type String.
Object HTMLHRElement
HTMLHRElement has the all the properties and methods of the HTMLElement object as well as the properties and methods defined below.
The HTMLHRElement object has the following properties:
align
This property is of type String.
noShade
This property is of type Boolean.
size
This property is of type String.
width
This property is of type String.
Object HTMLModElement
HTMLModElement has the all the properties and methods of the HTMLElement object as well as the properties and methods defined below.
The HTMLModElement object has the following properties:
cite
This property is of type String.
dateTime
This property is of type String.
Object HTMLAnchorElement
HTMLAnchorElement has the all the properties and methods of the HTMLElement object as well as the properties and methods defined below.
The HTMLAnchorElement object has the following properties:
accessKey
This property is of type String.
charset
This property is of type String.
coords
This property is of type String.
href
This property is of type String.
hreflang
This property is of type String.
name
This property is of type String.
rel
This property is of type String.
rev
This property is of type String.
shape
This property is of type String.
tabIndex
This property is a long object.
target
This property is of type String.
type
This property is of type String.
The HTMLAnchorElement object has the following methods:
blur()
This method has no return value.
focus()
This method has no return value.
Object HTMLImageElement
HTMLImageElement has the all the properties and methods of the HTMLElement object as well as the properties and methods defined below.
The HTMLImageElement object has the following properties:
lowSrc
This property is of type String.
name
This property is of type String.
align
This property is of type String.
alt
This property is of type String.
border
This property is of type String.
height
This property is of type String.
hspace
This property is of type String.
isMap
This property is of type Boolean.
longDesc
This property is of type String.
src
This property is of type String.
useMap
This property is of type String.
vspace
This property is of type String.
width
This property is of type String.
Object HTMLObjectElement
HTMLObjectElement has the all the properties and methods of the HTMLElement object as well as the properties and methods defined below.
The HTMLObjectElement object has the following properties:
form
This read-only property is a HTMLFormElement object.
code
This property is of type String.
align
This property is of type String.
archive
This property is of type String.
border
This property is of type String.
codeBase
This property is of type String.
codeType
This property is of type String.
data
This property is of type String.
declare
This property is of type Boolean.
height
This property is of type String.
hspace
This property is of type String.
name
This property is of type String.
standby
This property is of type String.
tabIndex
This property is a long object.
type
This property is of type String.
useMap
This property is of type String.
vspace
This property is of type String.
width
This property is of type String.
Object HTMLParamElement
HTMLParamElement has the all the properties and methods of the HTMLElement object as well as the properties and methods defined below.
The HTMLParamElement object has the following properties:
name
This property is of type String.
type
This property is of type String.
value
This property is of type String.
valueType
This property is of type String.
Object HTMLAppletElement
HTMLAppletElement has the all the properties and methods of the HTMLElement object as well as the properties and methods defined below.
The HTMLAppletElement object has the following properties:
align
This property is of type String.
alt
This property is of type String.
archive
This property is of type String.
code
This property is of type String.
codeBase
This property is of type String.
height
This property is of type String.
hspace
This property is of type String.
name
This property is of type String.
object
This property is of type String.
vspace
This property is of type String.
width
This property is of type String.
Object HTMLMapElement
HTMLMapElement has the all the properties and methods of the HTMLElement object as well as the properties and methods defined below.
The HTMLMapElement object has the following properties:
areas
This read-only property is a HTMLCollection object.
name
This property is of type String.
Object HTMLAreaElement
HTMLAreaElement has the all the properties and methods of the HTMLElement object as well as the properties and methods defined below.
The HTMLAreaElement object has the following properties:
accessKey
This property is of type String.
alt
This property is of type String.
coords
This property is of type String.
href
This property is of type String.
noHref
This property is of type Boolean.
shape
This property is of type String.
tabIndex
This property is a long object.
target
This property is of type String.
Object HTMLScriptElement
HTMLScriptElement has the all the properties and methods of the HTMLElement object as well as the properties and methods defined below.
The HTMLScriptElement object has the following properties:
text
This property is of type String.
htmlFor
This property is of type String.
event
This property is of type String.
charset
This property is of type String.
defer
This property is of type Boolean.
src
This property is of type String.
type
This property is of type String.
Object HTMLTableElement
HTMLTableElement has the all the properties and methods of the HTMLElement object as well as the properties and methods defined below.
The HTMLTableElement object has the following properties:
caption
This property is a HTMLTableCaptionElement object.
tHead
This property is a HTMLTableSectionElement object.
tFoot
This property is a HTMLTableSectionElement object.
rows
This read-only property is a HTMLCollection object.
tBodies
This read-only property is a HTMLCollection object.
align
This property is of type String.
bgColor
This property is of type String.
border
This property is of type String.
cellPadding
This property is of type String.
cellSpacing
This property is of type String.
frame
This property is of type String.
rules
This property is of type String.
summary
This property is of type String.
width
This property is of type String.
The HTMLTableElement object has the following methods:
createTHead()
This method returns a HTMLElement object.
deleteTHead()
This method has no return value.
createTFoot()
This method returns a HTMLElement object.
deleteTFoot()
This method has no return value.
createCaption()
This method returns a HTMLElement object.
deleteCaption()
This method has no return value.
insertRow(index)
This method returns a HTMLElement object.
The index parameter is a long object.
deleteRow(index)
This method has no return value.
The index parameter is a long object.
Object HTMLTableCaptionElement
HTMLTableCaptionElement has the all the properties and methods of the HTMLElement object as well as the properties and methods defined below.
The HTMLTableCaptionElement object has the following properties:
align
This property is of type String.
Object HTMLTableColElement
HTMLTableColElement has the all the properties and methods of the HTMLElement object as well as the properties and methods defined below.
The HTMLTableColElement object has the following properties:
align
This property is of type String.
ch
This property is of type String.
chOff
This property is of type String.
span
This property is a long object.
vAlign
This property is of type String.
width
This property is of type String.
Object HTMLTableSectionElement
HTMLTableSectionElement has the all the properties and methods of the HTMLElement object as well as the properties and methods defined below.
The HTMLTableSectionElement object has the following properties:
align
This property is of type String.
ch
This property is of type String.
chOff
This property is of type String.
vAlign
This property is of type String.
rows
This read-only property is a HTMLCollection object.
The HTMLTableSectionElement object has the following methods:
insertRow(index)
This method returns a HTMLElement object.
The index parameter is a long object.
deleteRow(index)
This method has no return value.
The index parameter is a long object.
Object HTMLTableRowElement
HTMLTableRowElement has the all the properties and methods of the HTMLElement object as well as the properties and methods defined below.
The HTMLTableRowElement object has the following properties:
rowIndex
This read-only property is a long object.
sectionRowIndex
This read-only property is a long object.
cells
This read-only property is a HTMLCollection object.
align
This property is of type String.
bgColor
This property is of type String.
ch
This property is of type String.
chOff
This property is of type String.
vAlign
This property is of type String.
The HTMLTableRowElement object has the following methods:
insertCell(index)
This method returns a HTMLElement object.
The index parameter is a long object.
deleteCell(index)
This method has no return value.
The index parameter is a long object.
Object HTMLTableCellElement
HTMLTableCellElement has the all the properties and methods of the HTMLElement object as well as the properties and methods defined below.
The HTMLTableCellElement object has the following properties:
cellIndex
This read-only property is a long object.
abbr
This property is of type String.
align
This property is of type String.
axis
This property is of type String.
bgColor
This property is of type String.
ch
This property is of type String.
chOff
This property is of type String.
colSpan
This property is a long object.
headers
This property is of type String.
height
This property is of type String.
noWrap
This property is of type Boolean.
rowSpan
This property is a long object.
scope
This property is of type String.
vAlign
This property is of type String.
width
This property is of type String.
Object HTMLFrameSetElement
HTMLFrameSetElement has the all the properties and methods of the HTMLElement object as well as the properties and methods defined below.
The HTMLFrameSetElement object has the following properties:
cols
This property is of type String.
rows
This property is of type String.
Object HTMLFrameElement
HTMLFrameElement has the all the properties and methods of the HTMLElement object as well as the properties and methods defined below.
The HTMLFrameElement object has the following properties:
frameBorder
This property is of type String.
longDesc
This property is of type String.
marginHeight
This property is of type String.
marginWidth
This property is of type String.
name
This property is of type String.
noResize
This property is of type Boolean.
scrolling
This property is of type String.
src
This property is of type String.
Object HTMLIFrameElement
HTMLIFrameElement has the all the properties and methods of the HTMLElement object as well as the properties and methods defined below.
The HTMLIFrameElement object has the following properties:
align
This property is of type String.
frameBorder
This property is of type String.
height
This property is of type String.
longDesc
This property is of type String.
marginHeight
This property is of type String.
marginWidth
This property is of type String.
name
This property is of type String.
scrolling
This property is of type String.
src
This property is of type String.
width
This property is of type String.