JSFiddle - React, Tailwind, and code Playground

by kaleeswaran

HTML

<form id="form1" name="aaaaaa" method="post" action="saveJob">
    <input name="foo" value="blah"/>  
    <form id="form2" name="bbbbb" class="dddddd" method="post" action="nestedForm" ><input name="nested" value="nestedValue"/>
    </form>
</form>

JavaScript

alert($('#form1').serialize());