Javascript Hide Element

<script>

  // Get the button by its id

  var hideButton = document.getElementById('hideButton');

  // Add a click event listener to the button

  hideButton.addEventListener('click', function() {

    // Hide the toolinfo div when the button is clicked

    var toolinfoDiv = document.getElementById('toolinfo');

    toolinfoDiv.style.display = 'none';

  });

</script>



<div id="toolinfo">  <div>

Next Post Previous Post
No Comment
Add Comment
comment url