Mohit Kala Jain

Mohit Kala Jain

  • 563
  • 1.9k
  • 123.6k

How to Select Radio Button Checked On table row Click

Feb 24 2018 9:25 PM
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)