I am trying to add a highlight color to a class like this
$(".common_box").hover(function(){
$(".common_box").addClass("hover_me");
});
this works but why doesnt this
$(".common_box").hover(function(){
$(".common_box").toggleClass("hover_me");
});
when i hover over this nothing happens
is there no unhover to put to remove the class hover_me when they move away from the hover