title: changing DIV visibility with JavaScript
body: <p>EDIT: Since the question has became quite popular I will fix the problem so it will be working code example. The original problem is still listed, But the <strong>code works</strong>.</p>
  
  <p>i am trying to show a div after pressing a button but this wont work, any idea why is that?</p>
  
  <pre><code>&lt;form action="insert.php" method="POST" align="right" id="post_form"&gt;
  &lt;input type="button" value="click me" onClick="show()"&gt;
  &lt;div id="show_button"&gt;  fdsfds &lt;/div&gt;&lt;br&gt;
  &lt;/form&gt;
  
  #show_button{
   visibility:hidden;
  }
  
  function show(){
    // alert("cheked the button - worked");
    document.getElementById("show_button").style.visibility= 'visible' ;
  }
  </code></pre>