Suppose I have string selector such as:
input.js-pretty-select[type="radio"].selected
How can I get just all class names (js-pretty-select and selected) from this string, possibly using some jQuery core function?
I thought about some regex at first, but then I realized that jQuery might have that already implemented somewhere in it's code, like when resolving selectors with $().