title: Make div stay on click Jquery asp.net
body: <p>I am trying to make a div appear on click and then stay on the screen, but cannot make the div stay once clicked?</p>
  
  <p>Here is the Jquery used:</p>
  
  <pre><code>    $(document).ready(function(){             
  
          $(function () {
              $("#main").hide();
              $("#Button1").on("click", function () {
                  $("#main").toggle(500);
              });
  
          });
  
      });
  </code></pre>
  
  <p>and the html for the main :</p>
  
  <pre><code>#main{
          position:absolute;
          left:180px;
          width:75%;
          height:700px;
          top:300px;
          background-color:snow;
  }
  </code></pre>