js event listener for when finished input code example Example: run javascript when typing <input type="text" oninput="myFunction()">