run javascript function when user finishes typing instead of onkeyup? code example Example: run javascript when typing <input type="text" oninput="myFunction()">