Hi I am using jQuery to highlight a row on click. It is working fine on page 1 but when I navigate to next page below mentioned code is not working.
Table is being rendered dynamically.
Below is my code snippet
$('table tr').slice(1).each(function(a,b){
$(b).click(function(){
$('table tr').css('background','#ffffff');
$(this).css('background','red');
});
});
any help is welcome