Javascript [Electronic resources] : The Definitive Guide (4th Edition)

David Flanagan

نسخه متنی -صفحه : 844/ 410
نمايش فراداده

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.