jQuery: Get and Set a Checkbox Value
HTML
<script src="https://code.jquery.com/jquery-2.2.4.min.js"></script>
<table>
<tr>
<td id="the-cell">
<label>
<input type="radio" name="pt" value="o" checked="checked" />
</label>
<label>
<input type="radio" name="pt" value="c"/>
</label>
</td>
</tr>
</table>
<div>
<button id="btn">reset</button>
</div>
JavaScript
$(function () {
var c = $("#the-cell");
$("#btn").on("click", function () {
$("input:radio[name=pt]:first").prop('checked', true);
});
});