title: How to make a button visible by clicking another button?
body: <p>How can I make the button <code>save</code> visible when I click the <code>edit</code> button? This is my code so far, but it happends nothing. I'm working in a jsp</p>
  
  <pre><code>   &lt;INPUT TYPE="BUTTON" VALUE="Edit" ONCLICK="btnEdit()" class="styled-button-2"&gt;
      &lt;INPUT TYPE="BUTTON" VALUE="Save" ONCLICK="btnSave()" class="styled-button-2" style="visibility:hidden;" id="save"&gt;
  
      &lt;SCRIPT LANGUAGE="JavaScript"&gt;
          function btnEdit()
          {
              {document.getElementsById("save").style.visibility="visible";}
  
          }    
       &lt;/script&gt;
  </code></pre>