Advertisement
Guest User

Untitled

a guest
Aug 14th, 2019
74
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.35 KB | None | 0 0
  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. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement