form.elements[ name ] will includes elements using id="name". this patch adds an extra check when finding all radio buttons in a group to ensure they share the same name attribute (and remove any stray elements that matched by id).
form.elements[ name ] will includes elements using id="name". this patch adds an extra check when finding all radio buttons in a group to ensure they share the same name attribute (and remove any stray elements that matched by id).