After the projectile point js- frame (except fork click on the window), the window can be closed point elsewhere ???

HTML:

<div class="A">

<div class="B"></div>

</div>

 

JS:

$(".A").click(function(e){

e.stopPropagation();

$(document).click(function(){

$(".B").hide();

})

})

Guess you like

Origin www.cnblogs.com/snowbxb/p/11733725.html