Quote from
AsleyCruz on January 8, 2022, 4:20 pm
Hi @phil78
Try this code. I'm not in PC right now so I didn't tested it. Your tables must have IDs (id="Table1").
The below code should work only for Table1, do the same for others tables (Table2, Table3...). Hope this helps.
$("#Table1 tr").click(function() {
$('#Table1 tr').each(function() {
this.style.backgroundColor = "white";
});
this.style.backgroundColor = "#FFE4C4";
});
Hi @phil78
Try this code. I'm not in PC right now so I didn't tested it. Your tables must have IDs (id="Table1").
The below code should work only for Table1, do the same for others tables (Table2, Table3...). Hope this helps.
$("#Table1 tr").click(function() {
$('#Table1 tr').each(function() {
this.style.backgroundColor = "white";
});
this.style.backgroundColor = "#FFE4C4";
});
javadrajabihakami has reacted to this post.