use 12 variables each variable name point to the radiobuttonlist and value of each variable holding the answer
function Checkform() { var result = true; $('.rbl').each(function() { var checked = $(this).find('input:radio:checked'); if (checked.length == 0) { result = false; return; } }); return result; }
$('input:radio').each(function() { if($(this).is(':checked')) { // You have a checked radio button here... } else { // Or an unchecked one here... } });
$('input:radio:checked').each(function() { // Iterate through all checked radio buttons });
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)