Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function showDiv() {
- var div = document.getElementById('extra');
- if(div.style.display == "none"){
- console.log("DISPOLAY");
- div.style.display = "block";
- }else{
- console.log("hide");
- div.style.display = "none";
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment