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

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.