Functiondojo.removeAttr

<script src="../../js/dojo.js"></script>
defined in dojo/_base/html.js

Removes an attribute from an HTML element.

Usage

function (/*DomNode|String*/ node, /*String*/ name) (view source)
parametertypedescription
nodeDomNode|Stringid or reference to the element to remove the attribute from
nameStringthe name of the attribute to remove