Var

The VAR object is used to apply structural meaning to a given portion of your Html document. It provides a context for an inline sequence of content, and is known as a phrase element. A block of text nested within the Html VAR tags is used normally to display inline characters which represents program code of some type which you want to display as is within your document, without rendering or executing the code. The Html VAR tag functionality is reflected by the DOM Var object.

DOM Reference

Internet Explorer

window.document.all.elementID

The properties of the Var 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 Var object are:

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

The collections and arrays for the Var object are:

all[]
children[]
filters[]

The event handlers for the Var object are:

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