I'm currently working with this CSS code:
input:checked + .selectablelabel .check {
visibility: hidden;
}
Now, I want to change the visibility property to "visible" using JavaScript.
I attempted the following:
$(document).on('click', '#selectlabelall', function () {
document.getElementsByClassName("input:checked + .selectablelabel .check").visibility = "visible";
});
Unfortunately, it didn't have any effect. Can anyone offer some assistance?
Thank you in advance!