I want to apply background color to all td element inside TR tag based on div title for below structure
<TR>
<TD Class="ABC">
<div class="grid-content-cell-wrapper" title="Total US-MultiOutlet"><span style="display: inline-block;
color: rgb(204, 204, 204);" class="runtime-list-item-wrap">Total US-MultiOutlet</span></div>
</TD>
<TD Class="ABC">
<div class="grid-content-cell-wrapper" title=""><span style="display: inline-block; color: rgb(204,
204,
204);" class="runtime-list-item-wrap"></span></div>
</td>
</TR>
<TR>
</TR>
i am trying using below code-
$("div[title='Total US-MultiOutlet']").closest('tr>td').css("background-color", "#FFA76C !important;");
$("div[title='Total US-MultiOutlet']").closest('tr td').css("background-color", "#FFA76C !important;");
Using above jquery it is applying background colour only to 1st TD not to 2nd TD