jQuery toggling highlight on/off
I am designing a program that adds and removes text highlighting based on the clicking of a button.
My program works the first time through, i.e. click once highlighting turns on, click twice highlighting turns off, but after that the clicking does not trigger anything. What am I doing wrong?
Sample code can be found here using jQuery 2.2.3: