I got multiple radio groups with the same name and an id number in it. (group1, group2, group3...) to get one value:
var value = $('input:radio[name="group1"]:checked').attr("value");
If i know the id number of the group where I want to get the checked attribute how do i get it?
var i = 2;
var value = $('input:radio[name="group" + i]:checked').attr("value");
not working.