$("td.data[headers='QUANTITY']").css("background-color","#EAEAEA");
$("td.data[headers='TOTAL_PRICE']").css("background-color","#D4FFBF")
$("td.data[headers='CATEGORY'] b:contains('Prod # Total:')")
.text("")
.closest("tr").find("td").css("background-color","#FFFFA3")
.parent().find("td:nth-child(2)")
.text(function(){
return(
$(this).parent()
.prev()
.find("input.product_name").val()
+ " subtotal:" );
}
)
.css("font-weight","bold");