title: How to hide or show a div
body: <p>I have on my Page_Load registered this</p>
  
  <pre><code> Page.ClientScript.RegisterStartupScript(this.GetType(), "clientscript", "document.getElementById('showdiv').style.visibility = 'hidden';", true);
  </code></pre>
  
  <p>But its not getting hidden... My div is as shown below</p>
  
  <pre><code>&lt;div id="showdiv"&gt;
     &lt;input class="button" type="button" value="OK" name="success_button" id="my button"  onclick="javascript:window.close();" /&gt;
     &lt;/div&gt;
  </code></pre>
  
  <p>what am I doing wrong?. Thank you for your help</p>