title: Select and Change
body: <pre><code>&lt;form&gt;
      &lt;input type="radio" name="if" value="mag" onclick="mag"&gt;MAG&lt;/input&gt;
      &lt;input type="radio" name="if" value="ceg" onclick="ceg"&gt;CEG&lt;/input&gt;
  &lt;/form&gt;
  
  &lt;form class="mag1" action="includes/signup.ini.php" methode="POST"&gt;
      &lt;input type="text" name="first"&gt;1&lt;/input&gt;
  &lt;/form&gt;
  
  &lt;form class="ceg1" action="includes/signup.ini.php" methode="POST"&gt;
      &lt;input type="text" name="first"&gt;2&lt;/input&gt;
  &lt;/form&gt;
  
  &lt;script&gt;
      function mag() {
          document.getElementByClassName("mag1").style.display="block";
      }
  &lt;/script&gt;
  </code></pre>
  
  <p>In the css file i set the display to none. But the script isn't work for me and it isn't do anything</p>