Show Output
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <title>JavaScript Handling the Keyup Event</title> </head> <body> <input type="text" onkeyup="alert('You have released a key inside text input!')"> <hr> <textarea cols="30" onkeyup="alert('You have released a key inside textarea!')"></textarea> <p><strong>Note:</strong> Try to enter some text inside input box and textarea.</p> </body> </html>