Monday, March 26, 2012

A Large Collection of Useful jQuery Utils | Websanova

A Large Collection of Useful jQuery Utils | Websanova: "jQuery.stop()
This is another little shortcut to prevent event propagation. It accepts options for preventDefault and stopPropgation.
$.stop(event, preventDefault, stopPropagation);

$("#container").click(function(e)
{
$.stop(e, true, true);
});"

'via Blog this'