Vote count:
0
My problem is fairly simple. I'm using a template to do styling. The way the template handles form inputs is it wraps them in span tags.
Example:
<label class="radio">
<div class="radio" id="uniformed-undefined">
<span class="checked">
<input type="radio" name="grow" value="slash">
</span>
</div>
How can I target that <span class="checked">
based on the input name "grow" and the value "slash" ?
I've looked into .before() but I'm not sure that's the correct answer.
asked 38 secs ago
Aucun commentaire:
Enregistrer un commentaire