O'Reilly logo

Dynamic HTML: The Definitive Reference by Danny Goodman

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Name

TABLE — NN n/a IE 4 DOM 1

Synopsis

The TABLE object reflects the TABLE element. Other objects related to the TABLE object are: CAPTION, COL, COLGROUP, TBODY, TD, TFOOT, THEAD, and TR.

HTML Equivalent

<TABLE>

Object Model Reference

IE

[window.]document.all. elementID

Properties

align
cols
                                    language
scrollHeight
 
background
dataFld
                                    offsetHeight
scrollLeft
 
bgColor
dataPageSize
                                    offsetLeft
scrollTop
 
border
dataSrc
                                    offsetParent
scrollWidth
 
borderColor
                                    document
                                    offsetTop
                                    sourceIndex
 
borderColorDark
frame
                                    offsetWidth
                                    style
 
borderColorLight
height
                                    outerHTML
tabIndex
 
caption
id
                                    outerText
                                    tagName
 
cellPadding
                                    innerHTML
                                    parentElement
tFoot
 
cellSpacing
                                    innerText
                                    parentTextEdit
tHead
 
                                    className
                                    isTextEdit
                                    recordNumber
title
 
clientHeight
                                    lang
rules
width
 
clientWidth
    

Methods

blur( )

insertAdjacentHTML( )

refresh( )

click( )

insertAdjacentText( )

removeAttribute( )

contains( )

nextPage( )

scrollIntoView( )

focus( )

previousPage( )

setAttribute( )

getAttribute( )

  

Collections/Arrays

all[]

children[]

filters[]

rows[]

tBodies[]

Event Handler Properties

Handler

NN

IE

DOM

onafterupdate

n/a

4

n/a

onbeforeupdate

n/a

4

n/a

onblur

n/a

4

n/a

onclick

n/a

4

n/a

ondblclick

n/a

4

n/a

ondragstart

n/a

4

n/a

onfocus

n/a

4

n/a

onhelp

n/a

4

n/a

onkeydown

n/a

4

n/a

onkeypress

n/a

4

n/a

onkeyup

n/a

4

n/a

onmousedown

n/a

4

n/a

onmousemove ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required