Try this
var result = new Array();
$('td').each(function() {
if( ($(this).text() != '') && ($(this).text() != ' ') {
if(result.indexOf($(this).text()) == -1){
result.push(+($(this).text()));
}
}
});
alert(result);