I have a simple html, a div which contains some html and a delete link:
<div class="item">
I am a text this section can contain a lot of html and stuff...
<a class="del_button" href="#">Delete</a>
</div>
here is the jQuery part:
$(".item").click(function(){
alert("Item clicked");
});
$(".del_button").click(function(){
alert("DELETE clicked");
});
If I click on the "Delete" link, two messageboxes are shown, "Item clicked" and "DELETE clicked" - How can I suppress the "Item clicked" alert if I click the delete button?