Return to Snippet

Revision: 28468
at July 8, 2010 17:30 by omerta83


Initial Code
$("div").bind("remove.pluginA", someFn);  
$("div").bind("remove.pluginB", otherFn);  
$("div").trigger("remove");

Initial URL

                                

Initial Description

                                

Initial Title
Using custom events for binding the same functionality for multiple pieces of code

Initial Tags
javascript, jquery

Initial Language
JavaScript