JSFiddle - React, Tailwind, and code Playground
HTML
<input type="radio" name="ticket_type" id="radio1">
<input type="radio" name="ticket_type" id="radio2">
<input type="radio" name="ticket_type" id="radio3">
JavaScript
setTimeout(function() {
$("#radio1").prop('checked', true);
}, 1000);
setTimeout(function() {
$("#radio2").removeProp('checked');
}, 2000);
setTimeout(function() {
$("#radio2").removeAttr('checked');
}, 3000);
setTimeout(function() {
$("#radio3").prop('checked', true);
}, 4000);
setTimeout(function() {
$("#radio2").prop('checked', false);
}, 5000);
setTimeout(function() {
$("#radio3").prop('checked', false);
}, 7000);