I have html page which contains radio type fields. I want to retrieve only specific data which belongs to the radio button fields.
I used document.querySelector('input[type="radio"]') ,but it returns only the data of first radio button field. But I want data of all radio button fields.
Please anyone help me out.!!