This is the codes for radio box.
<div class="question-answer">
<label style="margin: 10px;">
<span class="kt-font-bolder">1</span>
<br>
<input name="2" type="radio" label="1" value="1">
</label>
<label style="margin: 10px;">
<span class="kt-font-bolder">2</span>
<br>
<input name="2" type="radio" label="2" value="2">
</label>
<label style="margin: 10px;">
<span class="kt-font-bolder">3</span>
<br>
<input name="2" type="radio" label="3" value="3">
</label>
<label style="margin: 10px;">
<span class="kt-font-bolder">4</span>
<br>
<input name="2" type="radio" label="4" value="4">
</label>
<label style="margin: 10px;">
<span class="kt-font-bolder">5</span>
<br>
<input name="2" type="radio" label="5" value="5">
</label>
<br>
<span style="color: rgb(128, 0, 0);"></span>
</div>
There are almost 20 question in a page with same code. How can I check all 3 in radiobox with js code? Can anyone help me, please?
Aucun commentaire:
Enregistrer un commentaire