JSFiddle - React, Tailwind, and code Playground
by cgack
HTML
<input type="radio" id="one"/>
<input type="radio" id="two"/>
<input type="checkbox" id="three" />
JavaScript
$(document).ready(function() {
$("#three").live("change", function() {
console.log("eeee");
$("#one").attr("checked",true);
});
if ($("#three").attr("checked",false)) {
$("#three").click();
}
});