JSFiddle - React, Tailwind, and code Playground

by Afzaal Ahmad Zeeshan

HTML

<form id="form">
    <input type="text" name="something" />
</form>
<a href="#" onclick="document.getElementById('form').submit();">Submit</a>