function hasRepeat(objId,columnIndex){
var arr = [ ];
$("#" objId " tbody tr").each(function(){
arr.push( $("td:eq(" columnIndex ")",this).text() ) ;
});
if( arr.length==$.unique( arr ).length ){
return false;
}else{
return true;
}
}
//Call
alert( hasRepeat(tableID, column index)==1?"There are duplicates":"No duplicates");