JSFiddle - React, Tailwind, and code Playground

HTML

<INPUT class="input_checkItem" TYPE="text" NAME="n_checkbox" VALUE="1234" id="1" checked>
<label for="1">The value of this label is Yes</label>

JavaScript

$(".input_checkItem").change(function() {
  if (this.click) {
    $(this).next('label').text('done');

  } else
    alert(2);
});