Quantcast
Channel: Active questions tagged html - Stack Overflow
Viewing all articles
Browse latest Browse all 67469

how can i create a button that brings back the original text? [closed]

$
0
0

I have this from w3schools, i'm still a student learning. So this changes the from 'A paragraph' to 'Paragraph changed', how can I create another button that reverse these changes back to 'A paragraph. I guess I have to create a second function, I have tried a few things but it didn't work.

Please check the link below the code from w3schools.

https://www.w3schools.com/js/tryit.asp?filename=tryjs_whereto_head


Viewing all articles
Browse latest Browse all 67469

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>