转自:http://www.oschina.net/code/snippet_54100_3136
要求 jQuery 1.4.3+
因为hover不是标准的事件,因此无法直接使用live进行处理,故使用以下方法代替,效果一样。
$("table tr").live({
mouseenter:
function()
{
//todo
},
mouseleave:
function()
{
//todo
}
});