I want to get class/attr of each checkbox. Code sample is given below.
jQuery("input[type='checkbox']").each(()=> {
let checkboxID = jQuery(this).attr("class");
console.log(checkboxID);//output undefined
console.log(this.atc1List); //typescript variable
});