by @kodeazy

JQuery How to remove class attribute from a div tag in HTML?

Home » JQuery » JQuery How to remove class attribute from a div tag in HTML?
  • With the help of removeAttr method we can remove class attribute from div tag in HTML.
  • Below is the syntax to remove class attribute from div tag.

    	$('div').removeAttr('class');