On http://www.elitedeafpoker.com/dev/poker-players.html - AJAX loads JSON data into a table and Im trying to add some classes to display background-color on only two tags seperately and center the texts, but it didnt work for me and I removed it. I need the table to look like this - http://www.elitedeafpoker.com/dev/img/table-example.jpg
Javascript
$(document).ready(function() {
$.getJSON("js/dataPokerPlayers.json", function(data) {
$.each(data, function(i, data){
$(".tableData tbody").append("<tr><td>" + data.rank + "</td><td>" + data.name + "</td><td>" + data.earnings + "</td><td>" + data.points + "</td><td>" + data.totalearnings + "</td></tr>");
});
});
});