546 Views
In this tutorial, we are going to learn about how to hide/show a element by id using JavaScript. Consider, we have a following html div element. To hide an element, first we need to access it inside the JavaScript using the document.getElementById() then set its style.display property to none.
0 comments