JSFiddle - React, Tailwind, and code Playground

HTML

<input type="checkbox" value="howdy"/>

JavaScript

$("input:checkbox").change(function(){

alert($(this).val());

});