Garmaine Staff asked 2 years ago

Hi i have a question for you i will remove a attribute (Hidden) whit a Input type button can you help me this is my script

tanks for your help

<input type="button" onclick="myfunction()" value="Test">
<hr>
<button id="ici" hidden="">lol</button>

<script>
function myfunction() {
  document.getElementById("ici").removeAttribute("hidden");
}
</script>