0
在此表中,我们的目标是要突出对选定广播行时的“待定”或“成就”按钮被点击。高亮颜色将对应于点击的按钮。到目前为止,我只知道如何在选中该行时突出显示该行。
<table id="maintenance_table" class="table table-striped table-bordered" cellpadding="0" width="100%">
<thead>
<tr>
<th></th>
<th>#</th>
<th>Complex</th>
<th>Unit#</th>
<th>Date Requested</th>
</tr>
</thead>
<tbody>
<tr>
<th scope="row"><input type="radio" class="radioBtn" name="selectRow" value="checked" /></th>
<td></td>
<td></td>
<td></td>
<td></td>
</tr>
</tbody>
</table>
我的CSS纳入高亮色彩
.highlight_row_pending {
background-color: #DCAC61;
}
.highlight_row_accomp {
background-color: #67A8DA;
}
哪里是你的突出所选行代码? – hungerstar