HTML Editor
Run
<!DOCTYPE html> <html lang="en-US"> <body> <p>Select some characters in the Input Field</p> <input type="email" onselect="myFunction()" value="John Doe"> <script> function myFunction() { alert("Some text is selected"); } </script> </body> </html>
OUTPUT
×
Save as
Private
Tag
AJAX
Canvas
CSS
Google Charts
HTML
Javascript
jQuery
JSON
SASS
SVG
Description
Save