JSFiddle - React, Tailwind, and code Playground

HTML

<iframe name="goto"></iframe>
<form id="myform" action="http://jsfiddle.net/">
  <input type="text" name="submasdfita" value="1" />
</form>

<span class="go">Click here to submit form</span>

<script>
$(function() {
    $(".go").click(function() {
        $("#myform").submit(); /* this FAILS */
    });
});
</script>