Name

TBODY — NN n/a IE 4 DOM 1

Synopsis

The TBODY object reflects the TBODY element. By default, Internet Explorer creates a TBODY object for every table, but you can access its properties and methods only if you explicitly create a TBODY element (or access it via the tBodies[] collection of a table in the Win32 version). Note that the innerHTML, innerText, and outerHTML properties are not available on the Macintosh version of Internet Explorer 4.

HTML Equivalent

<TBODY>

Object Model Reference

IE

[window.]document.all. elementID

[window.]document.all.table id.tBodies[i] (IE/Win32 only)

Properties

align

innerHTML

offsetHeight

outerHTML

style

bgColor

innerText

offsetLeft

outerText

tagName

className

isTextEdit

offsetParent

parentElement

title

document

lang

offsetTop

parentTextEdit

vAlign

id

language

offsetWidth

sourceIndex

 

Methods

click( )

insertAdjacentHTML( )

scrollIntoView( )

contains( )

insertAdjacentText( )

setAttribute( )

getAttribute( )

removeAttribute( )

 

Collections/Arrays

all[]

children[]

filters[]

rows[]

Event Handler Properties

Handler

NN

IE

DOM

onclick

n/a

4

n/a

ondblclick

n/a

4

n/a

ondragstart

n/a

4

n/a

onfilterchange

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

n/a

4

n/a

onmouseout

n/a

4

n/a

onmouseover

n/a

4

n/a

onmouseup

n/a

4

n/a

Get Dynamic HTML: The Definitive Reference now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.