On the off chance that you as of now have a reference to a radio catch bunch, for instance:
var myRadio = $("input[name=myRadio]");
Utilize the
filter() fucntion, not
find().
(find() is for finding kid/relative components, while
filter() look through high level components in your determination.)
var checkedValue = myRadio.filter(":checked").val();
This answer was initially remedying another answer that suggested utilizing
find(), which appears to have since been changed.
find() could, in any case, be valuable for the circumstance where you previously had a reference to a compartment component, however not to the radio catches, e.g.:
var form = $("#mainForm");
...
var checkedValue = form.find("input[name=myRadio]:checked").val();