showing results for - "jquery close popup when click outside"
Christian
07 Sep 2020
1$(document).click(function(e){
2
3   if($(e.target).closest('#popupdivID').length != 0) return false;
4   $('#popupdivID').hide();
5});
6