تبلیغات
$("body").click(function(e){ //you can then check what has been clicked var target = $(e.target); if (target.is("#popup")) { } }); // Added ); this for correct syntax