Is there a way to apply a CSS style to the image within this Radio button when the checked attribute is present?
<div id="edit-attributes-24-42-wrapper" class="form-item">
<label for="edit-attributes-24-42" class="option">
<input type="radio" class="form-radio" checked="checked" value="42" name="attributes[24]" id="edit-attributes-24-42">
<img class="radio_image" src="/sites/default/files/imagecache/radio_thumb/days-3.png">
<div class="radio_image_text">
Radio Button text, hidden by display:none in CSS
</div>
</label>
</div>
My goal is to add a CSS class "selected" to the
<img class="radio_image" src="/sites/default/files/imagecache/radio_thumb/days-3.png">
section of the code.