I have really strange problem with jQuery and label. It's weird because everything works when i for example chaning background of label, font-weight, but about :before selector fails.
Any ideas?
jquery:
$(".something").click( function (event) {
$(".somediv label:before").css("background", "#000")
});
html:
<ul>
<li class="somediv">
<label for="winter">winter</label>
<input type="checkbox" class="something" id="winter" />
</li>
</ul>