JSFiddle - React, Tailwind, and code Playground
by MItul Patel
HTML
<input type='radio' name='recommend' value="1" />
<input type='radio' name='recommend' value="2" />
<input type='radio' name='recommend' value="3" />
<input type='radio' name='recommend' value="4" />
JavaScript
jQuery(document).ready(function(){
jQuery("input:radio[name=recommend]:first").attr('checked', true);
})