Skip to content

Instantly share code, notes, and snippets.

@kouphax
Created October 15, 2010 19:49
Show Gist options
  • Save kouphax/628823 to your computer and use it in GitHub Desktop.
Save kouphax/628823 to your computer and use it in GitHub Desktop.
$("#somelement").bind("outsideclick", function(){
// some other element was clicked
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment