How can I prevent a #b click from executing the #link click, I would like it to alert only "b"
$("#link").on('click',function(){ alert('link') });
$("#b").on('click',function(){ alert('b') });
<script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.1/jquery.min.js"></script><aid="link">A<b id="b">b</b></a>