Skip to content

Challenge Remove Classes from an element with jQuery

SaintPeter edited this page · 1 revision
Clone this wiki locally

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");

Something went wrong with that request. Please try again.