Javascript checking radiobuttons
<p>I got this code</p>

<pre><code>    &lt;?php foreach($this-&gt;question as $question): ?&gt;
&lt;div class="question"&gt;
    &lt;?php echo $question['question'] ?&gt;          &lt;/div&gt;


&lt;?php if($this-&gt;activeEdition["id"]!=20) { ?&gt;

&lt;div class="answers"&gt;
    &lt;?php
    $i = 1;
    foreach($question['answers'] as $answer):
    ?&gt;
    &lt;input type="radio" name="question[&lt;?php echo $question['id'] ?&gt;]" value="&lt;?php echo $answer['id'] ?&gt;" id="&lt;?php echo
           $answer['id']
    ?&gt;" class="radio_answer radio_answer_&lt;?php echo $i; ?&gt;" &gt;
    &lt;label for="&lt;?php echo $answer['id'] ?&gt;"&gt;&lt;?php echo $answer['answer'] ?&gt;&lt;/label&gt;
    &lt;?php
    if(count($question['answers']) &gt; 3){
    echo '&lt;br/&gt;';
    }
    ?&gt;
&lt;?php
$i++;
endforeach;
?&gt;
&lt;/div&gt;
</code></pre>

<p>How to check in easy and simplest way in javascript if in every question is checked one radio button?</p>
