JQuery隐藏点击事件外的DIV $('body').click(function(e) { if(e.target.id != 'targetarea' e.target.id != 'targetarea') $('#targetarea').hide();})
          $('body').click(function(e) {
    if(e.target.id != 'targetarea' && e.target.id != 'targetarea')
        $('#targetarea').hide();
})
        
        