Answers for "how to hide a button for a conditonal statement in javascript"

0

hide div on button click javascript

<style>
	function hideDiv(){
		var closedDiv  = document.getElementById("closableDiv");
		closedDiv.style.display = "none";
	}
</style>
<button id="closableDiv" onClick="hideDiv()"> </button>
Posted by: Guest on July-13-2021

Code answers related to "how to hide a button for a conditonal statement in javascript"

Code answers related to "Javascript"

Browse Popular Code Answers by Language