Sub

The sub object reflects the functionality of its Html equivelant, the SUB tag. It is used to provide sub scripted text within your document. That is, the text will appear slightly smaller than the surrounding text, with the bottom of the text level with the bottom of the line height. There will appear to be space above the sub scripted text.

DOM Reference

Internet Explorer

window.document.all.elementID

The properties of the Sub object are:

className
document
id
innerHtml
innerText
isTextEdit
lang
language
offsetHeight
offsetLeft
offsetParent
offsetTop
offsetWidth
outerHtml
outerText
parentElement
parentTextEdit
sourceIndex
style
tagName
title

The Methods of the Sub object are:

click()
contains()
getAttribute()
insertAdjacentHtml()
insertAdjacentText()
removeAttribute()
scrollIntoView()
setAttribute()

The Collections and Arrays for the Sub object are:

all [ ]
children [ ]
filters [ ]

The Event Handlers for the Sub object are:

onClick
onDblClick
onDragStart
onFilterChange
onHelp
onKeyDown
onKeyPress onKeyUp
onMouseDown
onMouseMove
onMouseOut
onMouseOver
onMouseUp
onSelectStart