버튼을 선택할 때 라디오 버튼이 포함 된 div의 bg 색상을 변경해야합니다. 나는 jquery를 사용하고있다. 그래서 이것을 달성 할 수있는 간단한 방법이 있어야한다.라디오 버튼을 선택한 경우 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
@redsquare - downvote가 필요하지 않으므로 먼저 수정해야합니다. – GenericTypeTea
나는 -1하지 않았다 – redsquare