There is a div block, a link is embedded in it. There is a function hanging on the block, which returns return false by clicking on this block.
How to make the link inside work by default, that is, the transition is made on this link.
In this case, clicking the link blocks the function that hangs as a handler on the div.
$('.wrap').click(function(e) { return false; }) .wrap { width: 300px; height: 300px; border: 1px solid red; } <script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.1/jquery.min.js"></script> <div class="wrap"> <a href="https://www.google.ru/" target="_blank">fwfwefwefwef</a> </div>