Używam tego kodu: $('body').click(function() { $('.form_wrapper').hide(); }); $('.form_wrapper').click(function(event){ event.stopPropagation(); }); A ten HTML : <div class="form_wrapper"> <a class="agree" href="javascript:;">I Agree</a> <a class="disagree"...