JS QuerySelector Radio diperiksa

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