removeAttr()
Sniper removeAttr() method
Syntax
$(selector).removeAttr(attribute,...)$(".myButton").removeAttr("name","id","disabled");
// this will remove the name,id and disabled attributes from the buttonRemove a single attribute
$(".myButton").removeAttr("disabled");
// this will remove the disabled attribute from the buttonLast updated