Skip to content
No description, website, or topics provided.
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
README.txt
example.html
jquery.clickout.js

README.txt

jQuery Plugin ClickOut
-----------------------------

by Ernesto Cianciotta (e.cianciotta@abriom.com)



Those who know jQuery (www.jquery.com) certainly know and appreciate its qualities. For those who do not know, jQuery is a fast and concise JavaScript library that simplifies HTML document traversing, animating, Ajax interactions and event handling.

About event handling, perhaps the most widley used is the "click" event that fires when you click inside the area of a given DOM element.

Sometimes, however, there is the need to handle the event that triggers when you click outsite the area of the DOM element. While the "onclick" is a native JavaScript event and is supported by jQuery with ".click()" function (see API), there is no native event in JavaScript that triggers when you click outside of an element in the HTML page.

To resolve this problem I wrote the plugin ".clickout()"


Full blog post: http://ecianciotta-en.abriom.com/2011/09/jquery-plugin-clickou.html
You can’t perform that action at this time.