Don't use $(document).ready(function() as it will not work with Ajax.
Use pageLoad() instead
function pageLoad(){
$('#gvReport tr[class="ItemStyle"],#gvReport tr[class="AlternatingItemStyle"]')
.bind('mouseover', function() { $(this).css('background-color', '#6E6E6E') })
.bind('mouseout', function() { $(this).css('background-color', '') });
}
No comments:
Post a Comment