I have an unordered list with mouseover and mouseout events attached to the li elements. Each contains a link and there is a bit of padding in the li. When I mouseover the l
You can try this
$('#menu li').live('mouseenter mouseleave', function (e) { if (e.type == 'mouseenter') { //Show ul } else { //Hide ul } });
The advantage is a usage of event delegation. Good luck!