I am trying to make a button a class switch, and also show another one below.
Here is the jsFiddle example I made for you .
The first function works fine, shows and hides the div, but also I want the button itself to add and remove a class, I thought it would work, but I seem to be doing something wrong.
Thank.
source
share