I have a dynamically appended menu which I am removing if you click anywhere on page including the menu links itself. What I am trying to achieve is to prevent the remove if yo
have you tried this:
$('.menu a').click(function(event){ event.stopPropagation(); });