jQuery 1.4.3+ spa
$("table tr").live({ mouseenter: function() { //todo }, mouseleave: function() { //todo } });
$('#id').live('hover', function(event){ if (event.type =='mouseover'){ //do something on mouseover return false;// 禁止冒泡 }else { // do something on mouseout return false; } });