Javascript examples for DOM Event:oninput
<input oninput="myFunction()">
<!DOCTYPE html> <html> <body> Enter name: <input type="text" value="Mickey" oninput="myFunction()"> <script> function myFunction() {/*from ww w. java2 s .co m*/ console.log("The value of the input field was changed."); } </script> </body> </html>