JavaScript gets the display text of the button

From , 3 Years ago, written in JavaScript, viewed 134 times.
URL https://pastebin.vip/view/ee0c1616
  1. <!DOCTYPE html>
  2. <html>
  3. <body>
  4.  
  5. <input type="button" id="button1" value="Click Me!">
  6.  
  7. <p>The text on the button is:
  8. <script>
  9. document.write(document.getElementById("button1").value);
  10. </script></p>
  11.  
  12. </body>
  13. </html>
  14.  
  15. //javascript/7925

Reply to "JavaScript gets the display text of the button"

Here you can reply to the paste above

captcha

https://burned.cc - Burn After Reading Website