<script>
$(document).ready(function()
{
$("a").click(function(){
alert("Anchor Clicked !") });
$("p").click(function(){
alert("p Clicked !") });
});
</script>
</head>
<body>
<a href = "#"><p>Click Me ! </p> </a>
</body>
</html>
When i click on the link first alert("p Clicked !")
and then alert("Anchor Clicked !")
appears.
I want to know this behaviour is observed ?
P.S. : I couldn't come with an appropriate title an edit is welcome