JSFiddle - React, Tailwind, and code Playground

by mcgrailm

HTML

<script src="http://www.kinetick.com/JS/jquery.validate.js"></script>
<form id="myform" action="" method="post">
    <input type="text" class="required" />
    <input type="submit"  value="submit" />
    <input type="button" class="test" value="add another" />
</form>

JavaScript

$("#myform").validate();
$('.test').click(function(){
    $('#myform').append('<input type="text" class="required" />').valid();
});