Good morning,
This is in reference to another post that I have open, but I think it would help me out if I understand this first.
What I'm trying to find is the radio button that belongs to a collection. For example if I have a field and a radio button together in a collection. I want to alert each value of the radio button. So I have something like the code below, but all I get is "Undefined" for each radio value.
How can I tweak this? I've seen that this works for "select" drop-down menus but I can't make it work for radio buttons.
$('.somefield input').each(function () { var myRadio = $(this).find('.radio input:checked').val(); alert(myRadio); });