jquery radio btn validation function code example Example: how to do radio button validation in jquery if($("input[name='Gender']:checked").length == 0)