checked radio button after tr onclick in pure javascript :     

> I've been searching many times on how to checked radiobutton
>     in tr onclick in pure javascript but I only see Jquery. Can
>     someone convert this jquery code to pure javascript or any solution
>     will do.

    
    
     $('tr').click(
       function() {
            $('input[type=radio]',this).attr('checked','checked');
        }
     );