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

OBJECT — NN n/a IE 4 DOM 1

Synopsis

The OBJECT object reflects the OBJECT element. This is an updated way of embedding other media and external data into a document (through a plugin or ActiveX control).

HTML Equivalent

<OBJECT>

Object Model Reference

IE

[window.]document.all. elementID

Properties

accessKey

data

isTextEdit

offsetTop

style

align

dataFld

lang

offsetWidth

tabIndex

altHtml

dataSrc

language

outerHTML

tagName

classid

document

name

outerText

title

className

form

object

parentElement

type

code

height

offsetHeight

parentTextEdit

vspace

codeBase

hspace

offsetLeft

readyState

width

codeType

id

offsetParent

sourceIndex

 

Methods

blur( )

focus( )

scrollIntoView( )

click( )

getAttribute( )

setAttribute( )

contains( )

removeAttribute( )

 

Collections/Arrays

all[]

children[]

filters[]

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

ondataavailable

n/a

4

n/a

ondatasetchanged

n/a

4

n/a

ondatasetcomplete

n/a

4

n/a

ondblclick

n/a

4

n/a

ondragstart

n/a

4

n/a

onerror

n/a

4

n/a

onerrorupdate

n/a

4

n/a

onfilterchange

n/a

4

n/a

onfocus

n/a

4

n/a

onhelp

n/a

4

n/a

onreadystatechange

n/a

4

n/a

onrowenter

n/a

4

n/a

onrowexit

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