There are three single selections on document.
<input type="radio" name="delete1">yes<input type="radio" name="delete1">no<input type="radio" name="delete1">all
<input type="radio" name="delete2">yes<input type="radio" name="delete2">no
<input type="radio" name="delete3">yes<input type="radio" name="delete3">no
There are 7 elements with document.getElementsByTagName('input')
.
It is 3 groups for people to select,every group can select 1 input.
I want to get the number of groups not the number of input tags in each groups.