title: Hiding a div using a asp.net checkbox oncheckchanged event
body: <p>I am trying to hide a div using asp.net checkbox server control. I added a onclick javascript code for the server control but it seems not working....any suggestions?</p>
  
  <p></p>
  
  <pre><code>    function hideDiv(obj) {
  
          if (obj.checked==true) {
              document.getElementById("divMap").style.visibility=true
          }
          else {
              document.getElementById("divMap").style.visibility = false
          }
      }
  </code></pre>