The DOM spec defines the classList interface, allowing for adding/removing/toggling classes or checking if an element contains a specified class using built-in methods as opposed to manually parsing ...
You need to give class to the button and attach the .on() method with it. If you have multiple buttons that when you click one, it changes classes & the text inside ...
The jQuery 2.2 and 1.12 Released post includes the following quote: While jQuery is a HTML library, we agreed that class support for SVG elements could be useful. Users will now be able to call the ...
Results that may be inaccessible to you are currently showing.
Hide inaccessible results