Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <!DOCTYPE html>
- <html lang="en">
- <head>
- <meta charset="UTF-8">
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
- <title>Document</title>
- </head>
- <body>
- <button id="bottone" style="background-color: aliceblue;" onclick="cambiaTesto()">Cambio
- </button>
- <script>
- function cambiaTesto(){
- document.getElementById("bottone").innerHTML="Ciao";
- }
- </script>
- </body>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement