JSFiddle - React, Tailwind, and code Playground
by GolezTrol
HTML
<form method="post" onsubmit="check1();">
<input name="test">
<input type="submit" value="Yo!" disabled>
</form>
<form method="post" onsubmit="check2();">
<input name="test">
</form>
JavaScript
function check1(){
alert('You submitted form 1!');
}
function check2(){
alert('You submitted form 2!');
}