JSFiddle - React, Tailwind, and code Playground

HTML

<html>
  <head>
    <title>jQuery test</title>
  </head>
  <body>
    <form action="" method="">
      <input type="hidden" class="hidden_input"></input>
    </form>
    <div id="clickmetotest">Click me to throw exception!</div>
  </body>
<html>

JavaScript

$(function(){
        $('#clickmetotest').click(function(){
          $('.hidden_input').text(0);
        });
      });