toggleAttribute(name, bool, node)
NameDetailsnameString: name of the HTML attribute which needs to be toggledboolboolean: Boolean to force the attribute on or off. When unspecified, the state of the attribute will be reversed.nodeHTMLElement: name of the node which contains the HTML attribu...