jQuery - removeAttr()

The removeAttr() method removes one or more attributes from the selected elements.


    $("#btnDemo1").click(function () { $("#Demo1").removeAttr("class"); });

 

Hello World