Permalink
Find file
Fetching contributors…
Cannot retrieve contributors at this time
20 lines (14 sloc) 495 Bytes

jQueryEvents

This MooTools code snippet allows you to use shorthand, jQuery-style Event syntax.

How to Use

All you need to do is add the jQueryEvents.js file into the page. A few sample usages are:

Javascript

$('myElement').click(function(e) {
    //do stuff
});

window.scroll(function(e) {
    //do stuff
});

For specific usage and options, please read the documentation or visit http://davidwalsh.name/js/jqueryevents