I am creating a nested div like the code below
<body>
<div style='border:solid 1px red' onclick='alert("hi")'>
Hawaii
<div style='border:solid 1px blue;margin:10px;' onclick="alert('haha');return false;">Aloha</div>
</div>
</body>
I would like to show haha when div of aloha is clicked but not bubling to the Hawaii div onclick event, is there a way to achieve it?
EDIT: I forgot to mention I am aware of event bubbling, but is there a way to stop bubbling/cancel propagation for single element?