JSFiddle - React, Tailwind, and code Playground

HTML

<form id="test">
<input id="Input1" value="Input1">
<input id="Input2" value="Input2">
<input type="submit" id="send" value="Send">
</form>

JavaScript

//This applies to whole form
$('#test').change(function() {
  send.value = "Change";
});