jquery alternate table row colors for a specifiq table
- by TIT
i have two tables. <table id='1'></table> and <table id='2'></table>. When i put this code:
$(document).ready(function()
{
//for table row
$("tr:even").css("background-color", "#F4F4F8");
$("tr:odd").css("background-color", "#EFF1F1");
});
Both the tables got it alternate row colors, which i dont want, i want only…