JQuery para JavaScript Converter online
// this worked for me
https://www.workversatile.com/jquery-to-javascript-converter/
Better Barracuda
// this worked for me
https://www.workversatile.com/jquery-to-javascript-converter/
There is no i guess:D
let csid = $("select#country").find(":selected").data("role");
$('.filter3').on('change', (e) => {
if(!$('.filter3 input:checked').length){
$(`.modal-block-content a`).removeClass('hide');
return;
}
$('.filter3 input').each((index, item) => {
let elementId = index+1;
if($(item).prop('checked') === true){
$(`.modal-block-content a:eq(${index})`).removeClass('hide');
}else{
$(`.modal-block-content a:eq(${index})`).addClass('hide');
}
});
})