Click to show hidden content
Here is the hidden content
<script> <br>$(document).ready(function(){ <br>$("span").bind("click", function(){ <br>$(".message").show(); <br>}); <br>$(".content").bind("click", function(){ <br>$(".message") .show(); <br>}); <br>$("body").bind("click", function(){ <br>$(".message").show(); <br>} ); <br>}); <br></script>
When span is clicked, all events of div and body are triggered. To prevent this from happening
$("span").bind("click", function(e){
$(".message").show();
e.stopPropagation(); //Complete event clearing action
});