title: Javascript show div when all radio button is checked
body: <p>I have a code that can show div everytime I click a radio button and it is working fine. The problem is I want all the radio button be checked and then the div will show. </p>
  
  <p>Here is my code for 1 radio button</p>
  
  <pre><code>function showstuff(nxt){
     document.getElementById(nxtb).style.display="block";
  }
  
  &lt;input id="ny" name="ny" type="radio" onClick="document.getElementById('ny').checked =
  true; showstuff('nxt');" /&gt;
  
  &lt;div id="nxtb"&gt;Next&lt;/div&gt;
  </code></pre>
  
  <p>Thanks in advance</p>