Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <html>
- <body>
- <div id = "test1" name = "test">
- sum text! woohoo!
- </div>
- <script type="text/javascript" language = "JavaScript">
- document.write("<button class = 'button' onClick = test1.outerHTML = '<p>its working!</p>'> Button </button>");
- </script>
- </body>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement