G2A Many GEOs
SHARE
TWEET

Untitled

a guest Mar 28th, 2020 84 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <head>
  2. <script>
  3. function test(){
  4.     if (c1.checked){
  5.         h.innerText="Здесь уже есть текст";
  6.         t.value = "Кнопка нажата";
  7.     }
  8. }
  9. </script>
  10. </head>
  11. <body>
  12. <input type = "checkbox" id = "c1">
  13. <input type = "button" id = "b" onclick="test()" value = "Нажмите меня">
  14. <h1 id = "h">Здесь будет текст</h1>
  15. <input type = "label" value = "Здесь тоже будет текст" id = "t"></input>
  16. </body>
RAW Paste Data
Ledger Nano X - The secure hardware wallet
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Top