I have something like the following
<div class='bar'>
<div class='container'>
<a class='add' href='#'>Add</a>
<a class='remove' href='#'>Remove</a>
</div>
</div>
my jquery
$('.bar').on('click', function(e){
//do stuff A.
})
My question is how to prvent do stuff A when I click add and remove a tag in my case.
I want add and remove button doing nothing for now (eventually they will be a link though).
Thanks!
preventDefaultapi.jquery.com/event.preventDefault