DekGenius.com
Team LiB   Previous Section   Next Section
HTMLElement.getAttribute( ) get an attribute value

Availability

Internet Explorer 4, Netscape 6

Synopsis

element.getAttribute(name)

Arguments

name

The name of the attribute.

Returns

The value of the named attribute of element or null if element does not have an attribute named name.

    Team LiB   Previous Section   Next Section