Event Onselect
Event Onselect <html> <head> <script> function message() { alert(“This alert box was triggered when you selected the content of the input field”); } </script> </head> <body> <p>Select the content in the input field</p> <form> <input value=”Select this text” size=”20″> </form> </body> </html> Select the content in the input field