click .toggle add/remove class
Posted
by danit
on Stack Overflow
See other posts from Stack Overflow
or by danit
Published on 2010-04-27T11:21:19Z
Indexed on
2010/04/27
11:23 UTC
Read the original article
Hit count: 141
jQuery
When i click #tool
I want to add the class .spanner
to the div #drill
.
However when #drill
has the class .spanner
and #tool
is clicked i want the class to be removed?
© Stack Overflow or respective owner