how to validate the radio button using jquery

JavaScript
if($("input[name='Gender']:checked").length == 0)BY LOVE
if ($("input[name='Gender']:checked").length == 0)
Source

Also in JavaScript: