JSFiddle - React, Tailwind, and code Playground

by Dylan Schadeck

HTML

<!DOCTYPE html>
<html>
<body onLoad="myFunction()">

  <script>
    function myFunction() {
      setTimeout(function(){
        alert("Hello");
        document.getElementById("qhForm").submit();
      }, 2000);
    }
  </script>
  
  <form id="qhForm" action="form_action.jsp">
    <input type="hidden" name="thisInput" value="SendTheDamnEmail">
  </form>

</body>
</html>