Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSS

onclick change visibility

<button onclick="theCloak();"></button>
function theCloak() {
	document.getElementById("myDiv").style.display="none";
} 
// or...
<button onclick="this.style.display='none';"></button>
 
PREVIOUS NEXT
Tagged: #onclick #change #visibility
ADD COMMENT
Topic
Name
4+9 =