title: how to make visible a div which is initially hidden by clicking on button using javascript
body: <p>I want that my hidden div will be visible continuously after clicking the button.</p>
  
  <p>This is my js code:</p>
  
  <pre><code>document.getElementById("share").onclick=function show(){
      document.getElementById("taskdiv2").style.visibility='visible';   
  };
  </code></pre>
  
  <p>This is my html code:</p>
  
  <pre><code>&lt;a id="share" onclick="show()" type="button" class="btn btn-lg btn-default"  href=""&gt;Share&lt;/a&gt;
  
  &lt;div id="taskdiv2"  style="visibility:hidden" class="row"&gt;
      hiiiii !this is vivek.
  &lt;/div&gt;
  </code></pre>