JSFiddle - React, Tailwind, and code Playground

HTML

<input type="radio" class="MyRadio" value=1>
<input type="radio" class="MyRadio" value=2>
<input type="radio" class="MyRadio" value=3>

JavaScript

$('.MyRadio').eq(2).attr('checked', true)