これを見てくださいこれがあなたが必要としているものです:jsfiddle
<table width="440" border="0" cellspacing="0" cellpadding="0">
<tr>
<td>
<input type="radio" name="overall_experience" value="1" class="a" />1</td>
<td>
<input type="radio" name="overall_experience" value="2" class="a" />2</td>
<td>
<input type="radio" name="overall_experience" value="3" class="a" />3</td>
<td>
<input type="radio" name="overall_experience" value="4" class="a" />4</td>
<td>
<input name="overall_experience" type="radio" value="5" class="a" />5</td>
</tr>
</table>
<br />
</div>
</div>
<div style="width:100%;clear:both;">
<div class="fullwidth_question"> <span>2. The promptness...they got there when they said they would.</span>
</div>
<div class="fullwidth_answer_indented">
<table width="440" border="0" cellspacing="0" cellpadding="0">
<tr>
<td>
<input type="radio" name="promptness" value="1" class="b" />1</td>
<td>
<input type="radio" name="promptness" value="2" class="b" />2</td>
<td>
<input type="radio" name="promptness" value="3" class="b" />3</td>
<td>
<input type="radio" name="promptness" value="4" class="b" />4</td>
<td>
<input type="radio" name="promptness" value="5" class="b" />5</td>
</tr>
<input type="button" value="butt" id="butt">
関連するjqueryは次のとおりです。
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.8.3/jquery.min.js"> </script>
<script type = "text/javascript">
$(document).ready(function validater() {
$("#butt").click(function (event) {
if($(".a").is(':checked') && $(".b").is(':checked') ){
alert("ok");
return true;}
else{alert("nok");
return false;}
});
});
</script>
フォームの onSubmit で validater() を呼び出します。