How to create such a jQuery condition:
select all checkboxes on the page with the value (3, 8, 19) that are in the item variable, and hide the parent in which the checkboxes are located?
<ul> <li class="letter"><input type="checkbox" class="checkboxEmail" value="."$row[0]".'></li> <li class="letter"><input type="checkbox" class="checkboxEmail" value="."$row[0]".'></li> <li class="letter"><input type="checkbox" class="checkboxEmail" value="."$row[0]".'></li> ..... </ul> How to find a parent and hide, I figured out:
$(".checkboxEmail").parent("letter").hide();