I want to hide div element and remove div on button clicked. I am new to javascript but worked on android. In android we are having feature of visibility:hidden
or visibility:gone
. how to implement it with javascript.
I just found document.getElementById("id").style.visibility="hidden";
.