<input id="radio1" type="radio" name="rgroup" value="1" >
<label for="radio1"><span><span></span></span>1</label>
<input id="radio2" type="radio" name="rgroup" value="2" >
<label for="radio2"><span><span></span></span>1</label>
Presented above are some radio buttons with associated labels. I am seeking a way to use JavaScript to dynamically add an image element to the label that corresponds to the checked radio button. Is this feasible?