About
A jQuery function to allow multiple live-events via on
-event on one element with different functions and target selectors.
Usage:
$(document).act(
['mouseenter', '.foo', function() {}],
['mouseleave', '.bar', function() {}]
);
Demo:
http://jsfiddle.net/ARTsinn/CmmDn/
Discussion: