JSFiddle - React, Tailwind, and code Playground

HTML

<html>

<head>
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.0/jquery.min.js"></script>
</head>

<body>
    <input type="button" id="button" value="Push me!"></input>
    <script type="text/javascript">
        var i=0;
          $('#button').on('click', function() {
              if(i++ % 2 == 0){
              	$(this).val("Don't push me!");
              }else{
                $(this).val("Push me!");
              }
          });
    </script>
</body>

</html>