pass textbox value on textbox oninput event javascript code example Example: html oninput <input type="text" oninput="myFunction()">