JSFiddle - React, Tailwind, and code Playground
HTML
<input name="test_data" type="radio" value='1' id="test_data">
<input name="test_data" type="radio" value='2' id="test_data" checked="checked">
<input name="test_data" type="radio" value='3' id="test_data">
<input name="test_data" type="radio" value='4' id="test_data">
<a href="#" id="resetvalue">reset value</a>
JavaScript
$('#resetvalue').click(function() {
$('input[value="2"]').prop('checked', true);
});