detect is user is typing javascript code example Example: run javascript when typing <input type="text" oninput="myFunction()">