Demo For: Detect Click Outside Element Using jQuery

This is some content. Click inside this div once and click outside this div to see the alerts.