<script type="text/javascript"> function CheckType() { if ($("input:checked").length > 0) { return true; } else { alert("你没有选择一个"); return false; } } </script>