Jquery - Event handler for all events

The following code handles all the keyboard and mouse events

$(document).bind("click mousemove keyup keydown",function(e)
{
        alert("Event -> "+ e.type);
});

Search