/

HTML / CSS / JavaScript Tutorial

JavaScript DOM HTML method: removeAttributeNode()

[this page | pdf | back links]

The removeAttributeNde() method (when applied to HTML elements in the JavaScript DOM) removes the specified attribute.

 

It has the following syntax with the following parameters. It returns an Attr object representing the attribute node that has been removed.

 

element.removeAttributeNode(attributenode)

 

Parameter

Required / Optional

Description

attributenode

Required

An Attr object being the attribute node to be removed

 


NAVIGATION LINKS
Contents | Prev | Next | JavaScript DOM (and BOM)


Desktop view | Switch to Mobile