removeClassName

removeClassName(element, className) -> HTMLElement

Removes element’s CSS className and returns element.

Examples


<div id="mutsu" class="apple fruit food"></div>

$('mutsu').removeClassName('food');
// -> HTMLElement

$('mutsu').classNames();
// -> ['apple', 'fruit']