Use the removeAttribute() to remove an attribute from a specified element . Setting the value of a Boolean attribute to false will not work; use the removeAttribute() method instead.
Use the removeAttribute() to remove an attribute from a specified element . Setting the value of a Boolean attribute to false will not work; use the removeAttribute() method instead.