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