DekGenius.com
Team LiB   Previous Section   Next Section
HTMLElement.removeAttribute( ) delete an attribute

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.

    Team LiB   Previous Section   Next Section