how to do radio button validation in jquery

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

Also in JavaScript: