<div class="codetitle"> <span><a style="CURSOR: pointer" data="15694" class="copybut" id="copybut15694" onclick="doCopy('code15694')"><u>复制代码</u></a></span> 代码如下:</div> <div class="codebody" id="code15694"> <br>$('# tr:not(:has("th"))').hover(function () { <br>$bg = $(this).css('background-color'); <br>$(this).css('background-color', '#ffc4c6'); <br>}, <br>function () { <br>$(this).css('background-color', $bg); <br>}); <br> </div>