JSFiddle - React, Tailwind, and code Playground
by jfriend00
HTML
Clicks: <span id="cntr">0</span>
<form>
<input type="submit" id="help_submit" value="Submit Help Request" />
</form>
<script>
document.getElementById('help_submit').addEventListener('click', function (e) {
e.preventDefault();
var cntr = document.getElementById("cntr");
cntr.textContent = +cntr.textContent +1;
window.alert("You clicked on the Submit Button on the Help Request form.");
});
</script>