Name

TR — NN n/a IE 4 DOM 1

Synopsis

The TR object reflects the TR element. Note that the following items are not available in the Macintosh version of Internet Explorer 4: innerHTML, innerText, and outerText properties; insertAdjacentHTML( ) and insertAdjacentText( ) methods.

HTML Equivalent

<TR>

Object Model Reference

IE

[window.]document.all. elementID

Properties

align

document

offsetLeft

rowIndex

 

bgColor

id

offsetParent

selectionRowIndex

 

borderColor

innerHTML

offsetTop

sourceIndex

 

borderColorDark

innerText

offsetWidth

style

 

borderColorLight

isTextEdit

outerHTML

tagName

 

className

lang

outerText

title

 

clientHeight

language

parentElement

vAlign

 

clientWidth

offsetHeight

parentTextEdit

  

Methods

blur( )

getAttribute( )

removeAttribute( )

click( )

insertAdjacentHTML( )

scrollIntoView( )

contains( )

insertAdjacentText( )

setAttribute( )

focus( )

  

Collections/Arrays

all[]

cells[]

children[]

filters[]

Event Handler Properties

Handler

NN

IE

DOM

onblur

n/a

4

n/a

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

onselectstart

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.