jQuery class name manipulation helpers
JavaScript
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
README.md
jq-classlist.js

README.md

jq-classlist

jQuery class name manipulation helpers.

classList usage:

var classList = $("body");

// ["class1", "class2", "class3"]

removeClassLike usage:

div class="sidebar span5"

$(".sidebar").removeClassLike("span");

// div class="sidebar"