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

SCRIPT — NN n/a IE 4 DOM 1

Synopsis

The SCRIPT object reflects the SCRIPT element. Note that the Win32 version of Internet Explorer chokes on accessing or setting the innerHTML or innerText properties.

HTML Equivalent

<SCRIPT>

Object Model Reference

IE

[window.]document.all. elementID

Properties

className

htmlFor

isTextEdit

readyState

tagName

defer

id

language

src

text

document

innerHTML

parentElement

sourceIndex

title

event

innerText

parentTextEdit

style

type

Methods

contains( )

insertAdjacentHTML( )

removeAttribute( )

getAttribute( )

insertAdjacentText( )

setAttribute( )

Event Handler Properties

Handler

NN

IE

DOM

onerror

n/a

4

n/a

onload

n/a

4

n/a

onreadystatechange

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