php jquery validate radio buttons code example Example: how to validate the radio button using jquery BY LOVE if ($("input[name='Gender']:checked").length == 0)