SHARE
TWEET

Untitled

a guest Aug 14th, 2019 50 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. for (int i = 0; i < 10; i++)
  2. {
  3. Blink();     //Appear is my "own language"
  4. }
  5.  
  6. Blink() here would here would invoke this code:
  7.  
  8. .hidden {
  9. display: none;
  10. }
  11. .show {    display: inline;
  12. }
  13. <!-- In your HTML -->
  14. <button id="button" class="hidden">test</button>
  15.  
  16. // In your js
  17. function toggleButton() {
  18. document.getElementById("button").className = 'show';
  19. }
RAW Paste Data
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
Not a member of Pastebin yet?
Sign Up, it unlocks many cool features!
 
Top