<body>
<div>
<a>1</a>
<a id='test'>test</a>
</div>
<script type='text/javascript' src='http://code.jquery.com/jquery-1.9.1.js'></script>
<script>
$("div").on("click", "a", function () {
alert("Yes");
});
$("#test").on("click", function () {
return false;
});
</script>
</body>