2
Answers

How to Select Radio Button Checked On table row Click

Mohit Kala

Mohit Kala

7y
10.6k
1
how to do like  i click on table row radio button will be checked
and if second tr click first will be uncheck
 
 
i write below code
 
$('#myDataTable').delegate('tbody > tr', 'click', function(){
$(this).find('input[type="radio"]').attr('checked', true);
});
 
it selects both row 
 
Answers (2)