onmouseover/-out of DIVs: changing css of the child-elements
Hello,
I have several DIVs with a specific class. With BIND, or a EACH-function I want to get a hover-effect to change the P-child-element of the DIVs.
But something like this doesn't work:
$("div.classLabel").bind("mouseenter mouseleave", function(e){
$(this + " p").toggleClass("over");
});
How it is possible to change the child-element of each DIV?
Carlos