ho provato questo document.getElemntById(groupName)[0].checked

ma non mi funziona

i radio devono tutti avere lo stesso id e stesso name?