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