JSFiddle - React, Tailwind, and code Playground

by jasonwilczak

HTML

<form id="my_form" accept-charset="utf-8" method="post" action="editor_result.php">
<h3>Title of section: <input id="title" class="textbox" type="text" size="60" name="title" maxlength="65"  spellcheck="true"></h3>
<p style="margin-bottom: 10px; font-size:80%">65 characters max...</p>
<textarea id="elm1" name="area"></textarea>
<input name="submit" type="submit" value="Submit" id="submit" />

JavaScript

$("#submit").on("click", function (e) {
        e.preventDefault();
        $('#removeScripts').remove();
        $('#my_form').submit(); 
});