how detect mouse click area in document - jquery - javascript
<p>I have a page with a div element in it. i want when i clicked on outer area of that div element, then fade it out.</p>

<p>but i don't know how detect area of mouse click.
how detect that mouse click point is out of div area or not?</p>
