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

LEGEND — NN n/a IE 4 DOM 1

Synopsis

The LEGEND object reflects the LEGEND element. A LEGEND element must be nested inside and immediately after the FIELDSET element associated with a form or group of form controls.

HTML Equivalent

<LEGEND>

Object Model Reference

IE

[window.]document.all. elementID

Properties

accessKey

document

language

outerHTML

scrollTop

align

id

offsetHeight

outerText

scrollWidth

className

innerHTML

offsetLeft

parentElement

sourceIndex

clientHeight

innerText

offsetParent

parentTextEdit

style

clientLeft

isTextEdit

offsetTop

scrollHeight

tagName

clientTop

lang

offsetWidth

scrollLeft

title

clientWidth

    

Methods

blur( )

getAttribute( )

removeAttribute( )

click( )

insertAdjacentHTML( )

scrollIntoView( )

contains( )

insertAdjacentText( )

setAttribute( )

focus( )

  

Collections/Arrays

all[]

children[]

filters[]

Event Handler Properties

Handler

NN

IE

DOM

onblur

n/a

4

n/a

onchange

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

n/a

4

n/a

onmouseout

n/a

4

n/a

onmouseover

n/a

4

n/a

onmouseup

n/a

4

n/a

onscroll

n/a

4

n/a

onselectstart

n/a

4

n/a

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