js function as user types code example Example: run javascript when typing <input type="text" oninput="myFunction()">