Separate your events with spaces.
$("#div1").undelegate("div", "mouseenter mouseleave");
You should use on and off though.
$("#div1").off("mouseenter mouseleave", "div");
http://api.jquery.com/undelegate/
The .undelegate () method is a way to remove event handlers that have been associated with using .delegate (). Starting with jQuery 1.7, .on () and .off () methods are preferred for attaching and removing event handlers.
Trevor
source share