をクリックして、目標は「保留中」または「達成」ボタンをクリックすると、選択したラジオで行をハイライトすることです。ハイライトの色は、クリックされたボタンに対応します。これまでは、行が選択されたときに行を強調表示する方法を学んだだけでした。
<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