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

David Flanagan

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

Availability

Internet Explorer 4, Netscape 6

Synopsis

element.removeAttribute(name)

Arguments

name

The name of the attribute to be deleted.

Returns

true on success; false on failure.

Description

removeAttribute( ) deletes the attribute name from element. If element does not have an attribute named name, this method returns false.