I have an HTML in which I have table, one column of table contains checkboxes and other contains text.
One checkbox is coming auto punched from the backend when the page loads. I want to make that checkbox readonly. below is the code I am using but its not working. pls suggest.
$(document).ready(function(){
$('tr td').each(function(){
$('this').find('input[type="checkbox"]:checked').prop('readOnly',true);
});
});