html on input code example
Example 1: html oninput
<input type="text" oninput="myFunction()">
Example 2: how to collect input textbox in html
<label for="name">Name:</label>
<input type="text" id="name"><br><br>
<input type="text" oninput="myFunction()">
<label for="name">Name:</label>
<input type="text" id="name"><br><br>