So I have a div class called question_image1 with about four labels inside. My input is wrapped inside of my label <label><input/></label>, so I didn't use the for attribute of a label.
I'm trying to select all labels that weren't the ones that were clicked inside of the class.
$(".question_image1").click(function(event) {
$('.question_image1 label').not(event.target).style.opacity = "30%";
});
Is there an obvious problem here? One possibility is that there's a level of div between the question_image1 class and the label. Would that be an issue?