text

The text object is the reflection of an Html INPUT tag whose TYPE has been set to 'text'. It represents a one line field in which the user can enter text, the contents of which can be submitted to the server for execution by server-side CGI scripts.

DOM Reference

Internet Explorer

window.document.formName.element
window.document.forms[n].elements[n]
window.document.all.elementID

Netscape Navigator

window.document.formName.element
window.document.forms[n].elements[n]

The properties of the text object are:

accessKey
className
dataFld
dataSrc
defaultValue
disabled
document
form
id
isTextEdit
lang
language
maxLength
name
offsetHeight
offsetLeft
offsetTop
offsetWidth
outerHtml
outerText
parentElement
parentTextEdit
readOnly
recordNumber
size
sourceIndex
style
tabIndex
title
type
value

The Methods of the text object are:

blur()
click()
contains()
createTextRange()
focus()
getAttribute()
handleEvent()
insertAdjacentHtml()
inserAdjacentText()
removeAttribute()
scrollIntoView()
select()
setAttribute()

The Collections and Arrays for the text object are:

all [ ]
children [ ]
filters [ ]

The Event Handlers for the text object are:

onBlur
onChange
onClick
onDblCLick
onFocus
onHelp
onKeyDown
onKeyPress
onKeyUp
onMouseDown
onmouseMove
onMouseOut
onMouseOver
onMOuseUp
onSelect