JS QuerySelector Radio sprawdzone
document.querySelector('[name="your_name"]:checked').value;
Wide-eyed Wallaby
document.querySelector('[name="your_name"]:checked').value;