Click td, select radio button in jQuery
Use this selector:
$('input:radio', this).attr('checked', true);
Or using find
method:
$(this).find('input:radio').attr('checked', true);
Here is how your code should look like:
$("td").click(function () {
$(this).find('input:radio').attr('checked', true);
});
Try
$(this).find('input:radio').attr('checked','checked');
Try find instead of closest.
$(this).find('input:radio').attr('checked',true);