JSFiddle - React, Tailwind, and code Playground

HTML

<input id="billable" type='radio' name="teste" value="a">a

JavaScript

$(document).click(function(){
alert(  $("#billable:checked").size())
})