Button

This object has the same functionality as the BUTTON Html element. It is used as a submit type of button, but with a label you specify. An elementID may be assigned to the Button object, which can be referenced within a script. When the Button is assigned a Type of submit, the form submits the Button's Name and Value as a name / value pair, to be acted upon with a CGI script at the server. A BUTTON object is normally embedded within a FORM object.

syntax

document.all.elementID

The properties of the Button object are:

accessKey
className
clientHeight
clientLeft
clientTop
clientWidth
dataFld
dataFormatAs
dataSrc
disabled
document
form
id
innerHtml
innerText
isTextEdit
lang
language
name
offsetHeight offsetLeft
offsetParent
offsetTop
offsetWidth
outeHtml
outerText
parentElement
parentTextEdit
scrollHeight
scrollLeft
scrollTop
scrollWidth
sourceIndex
status
style
tabIndex
tagName
title
type
value

The Methods of the Button object are:

blur()
click()
contains()
createTextRange()
focus() getAttribute()
insertAdjacentHtml()
insertAdjacentText()
removeAttribute()
scrollIntoView()

The Collections and Arrays for the Button object are:

all[]
children[] filters[]

The Event Handlers for the Button object are:

onAfterUpdate
onBeforeUpdate
onBlur
onClick
onDblClick
onDragStart
onFilterChange
onFocus
onHelp
onKeyDown
onKeyPress onKeyUp
onMouseDown
onMouseMove
onMouseOut
onMouseOver
onMouseUp
onResize
onRowEnter
onRowExit
onSelectStart