You can use off() method as well. on() will be used to create event and off() will be used to remove event. function clickEvent() { $("#somediv2").show().fadeOut("slow"); }; To **remove** events you can use like this, $('#somediv').off("click", "#somediv1", clickEvent); To **add** events you can use like this, $('#somediv').on("click", "#somediv1", clickEvent); http://api.jquery.com/off/ http://api.jquery.com/on/
source share