Posts by Uadson Feitosa • 9 points
1 post
-
-1
votes1
answer48
viewsQ: How to streamline the color of a text in a cell of an HTML table, using Javascript
$(function() { var texto = $("#question_list tr:nth-child(1) td:nth-child(4)").text(); var result = (texto); if (result=="Respondido"){ $("#answers").css("background","#FF0000"); }else…