I have five divs:
<div class="tip tip-1 activeTip"></div>
<div class="tip tip-2"></div>
<div class="tip tip-3"></div>
<div class="tip tip-4"></div>
<div class="tip tip-5"></div>
I would like to use the jQuery on click event to add the activeTip class to a div and also remove it from the div it is currently set on. So only one div should have the activeTip class at a time.
Thanks
clickevent handler.