1$(document).click(function(){
2 $("#try").hide();
3});
4
5$("#try").click(function(e){
6 e.stopPropagation();
7});
1$(document).click(function() {
2 alert('clicked outside');
3});
4
5$(".menuWraper").click(function(event) {
6 alert('clicked inside');
7 event.stopPropagation();
8});
9