HTML Editor
<!DOCTYPE html> <html lang="en-US"> <body> <h2 ontouchend="myFunction()">Touch me</h2> <script> function myFunction(){ alert("You touched me"); } </script> <p><strong>Note</strong>: This example is only for touch devices.</p> </body> </html>
OUTPUT
×

Save as Private