Skip to content

Challenge Remove Classes From An Element With JQuery

Quincy Larson edited this page Aug 20, 2016 · 1 revision

Challenge Remove Classes from an element with jQuery

The same way we can add classes using jQuery, we an also remove them with removeClass().

$("button").removeClass("btn-default");
Clone this wiki locally