Webmaster in a Nutshell, Third Edition

Team-Fly    

 
Webmaster in a Nutshell, 3rd Edition

By Robert Eckstein, Stephen Spainhour

Table of Contents
Chapter 11.  JavaScript

Attr DOM Level 1

An attribute of a document element Inherits From: Node

Properties

name

The name of the attribute. Read-only.

ownerElement

The Element object that contains this attribute. Read-only. DOM Level 2.

specified

true if the attribute was explicitly specified in the document source or set by a script. false otherwise . Read-only.

value

The value of the attribute as a string. Read/write.

See Also

Document.createAttribute( ), Element.getAttributeNode( ), Element.setAttributeNode( )


Team-Fly    
Top

Категории