Share via


removeAttribute

This function removes an attribute from the element.

Syntax

function xweb.document.htmlElement.removeAttribute(
attributeName : String
) : boolean

Parameters

attributeName   A string that specifies the attribute name to be removed. This parameter is required.

Returns

true   The specified attribute was successfully removed.

false   The specified attribute was not removed.

See Also

Concepts

htmlElement
htmlElement Members
xweb

  Copyright © 2011 by Microsoft Corporation. All rights reserved.