Hi,
I have a list of checkboxes. How can I change the background color of the checkbox when checked?
Following is my code:
<tr>
<td style="padding-top: 6px;">
<label class="km-checkbox-label">
<b>Food:</b></label>
</td>
<td>
<input type="checkbox" class="km-checkbox" id="food" value="Food"/>
</td>
<td style="padding-top: 6px;">
<label class="km-checkbox-label">
<b>Hotel:</b></label>
</td>
<td>
<input type="checkbox" class="km-checkbox" id="hotel" value="Hotel"/>
</td>
</tr>
<tr>
<td style="padding-top: 6px;">
<label class="km-checkbox-label">
<b>Attraction:</b></label>
</td>
<td>
<input type="checkbox" class="km-checkbox" id="attraction" value="Attraction"/>
</td>
<td style="padding-top: 6px;">
<label class="km-checkbox-label">
<b>Shopping:</b></label>
</td>
<td>
<input type="checkbox" class="km-checkbox" id="shopping" value="Shopping" />
</td>
</tr>
I wanted to achieve a checkbox which is shown in the attached file.
Thanks,
Ruchin Dayal.