JSFiddle - React, Tailwind, and code Playground

HTML

<input type='checkbox' class='radioButton' checked='true' />

JavaScript

function supportFormValidation(){
   var isChecked = $('.radioButton').prop('checked') ? true : false;
   alert(isChecked);
   return false;
};

supportFormValidation();