Parent - child event jquery
- by Tom Rider
I have have a 2 div element. One is child and one is parent like :
<div id="p">
<div id="c">
</div>
</div>
The parent div has 2 event attached click and dblclick and child div has 1 event attached click. Now my problem is when i clicked on the child div the parent div click event also executed. I tried e.stopPropagation(); but still same behavior. Help me ?