I have a site developed in PHp and jQuery.
I have an image over another image in position absolute.
Small image has event click and its parent have another event click. But when I click on the small image I don't want that the event of the parent is fired
Example:

If I click on the "ok" image the parent fire event click and i have two action, one from the "ok" image and another from the parent.
I have tried in this mode:
$(document).on('click','.social-like',function(event){
//click on "ok" image
event.preventDefault();
});
$(document).on('click','.block-shirt',function(){
//click on rectangle
});
CSS:
.block-shirt{
float:left;
width:133px;
height:170px;
}
.tee{
position:absolute;
top:0;
left:15px;
margin-top:5px;
width:103px;
z-index:5;
}
.social-like{
position:absolute;
bottom:10px;
right:20px;
z-index:10;
width:24px;
height:32px;
}
HTML:
<div class="block-shirt">
<img src="rectangle.png" class="tee"/>
<div class="social-like"></div>
</div>