當用戶按下按鈕時,需要更改包含單選按鈕的div的bg顏色。我正在使用jquery - 所以它似乎應該有一些簡單的方法來實現這一點。我有我的HTML設置是這樣的:選擇收音機btn時更改bg顏色
<div class="sales_box">
<table>
<tr>
<td class="radio_cell"><input type="radio"></td>
</tr>
</table>
</div>
<div class="sales_box">
<table>
<tr>
<td class="radio_cell"><input type="radio"></td>
</tr>
</table>
</div>
這將改變TD背景 – redsquare 2010-06-20 09:20:26
@redsquare - 無需downvote,給我改變,先改正它。 – GenericTypeTea 2010-06-20 09:22:06
我沒有-1它 – redsquare 2010-06-20 09:22:30