鼠标移上去换色?用jquery去实现;
$(".delete_link").parent().parent().mouseover(function(){
$(this).css("backgroundColor","#cccccc");
}) .mouseout(function(){
$(this).css("backgroundColor","");
})
GridView背景隔行换色
AlternatingRowStyle-CssClass="ccc"
本文介绍使用jQuery实现鼠标悬停时元素背景颜色变化的方法,并展示了如何设置GridView中行的交替背景颜色。
4136

被折叠的 条评论
为什么被折叠?



