zm_sansan,
<!DOCTYPE HTML>
<html>
<head>
<title>Untitled</title>
<meta charset="utf-8">
<style type="text/css">
.lightblue {
background: lightblue;
}
</style>
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.11.0/jquery.min.js"></script>
<script>
$(function(){
$(".a").on('mouseover mouseout',function(event) {
event.stopPropagation();
$(this).toggleClass('lightblue', event.type == 'mouseover')
});
});
</script>
</head>
<body>
<div class='a'> 1
<div class='a'> 2 </div>
<div class='a'> 3
<div class='a'> 4 </div>
</div>
</div>
<div class='a' id="el"> 1
<div class='a'> 2 </div>
<div class='a'> 3 </div>
</div>
</body>
</html>