Replace radio button with an image

Hi

I added the below code under the question but it is not replacing the radio button with the image. The image is located under the graphic folder.



<script>
$(document).ready(function(){
$('#[% QuestionName() %]_r1_1_graphical').css('background', 'url(img src="[%GraphicsPath()%]Agree_Button_v2.jpg") no-repeat center center');
})
</script>


Thank you in advance for any help you can provide.

Resolved
2 replies