JSFiddle - React, Tailwind, and code Playground
by crucify
HTML
<script src="https://code.jquery.com/jquery-3.3.1.slim.min.js"></script>
<form method="get" action="/echo" target="_blank"><!-- 값을 url 로 확인 -->
<input type="text" name="test" value="asdf">
<input type="submit" value="submit">
<input type="button" value="add" id="add">
<table>
<tr>
<td id></td>
</tr>
</table>
</form>
JavaScript
var addCnt = 0;
$('#add').on('click', function() {
addCnt ++;
$('#place').append(
$('<input>').attr('name', 'box_' + addCnt).attr('value', 'test_' + addCnt)
);
return false;
});