JSFiddle - React, Tailwind, and code Playground
HTML
<div id="new">
ID: <input name="id"/>
<span>Date: </span>
<input name="date"/>
<select name="status">
<option>New</option>
<option>Old</option>
</select>
<textarea name="memo"></textarea>
</div>
JavaScript
var arr = $("#new").children('input, select, textarea').map(function() {
return $(this).attr("name");
})
console.log(arr);