event listener on input field code example Example: html oninput <input type="text" oninput="myFunction()">