Hi
How can I create a javascript on my radioButton element for that :
change the source of an image when my choice is value 1 -> image.src="..._1.jpg", when it is 2 -> image.src="..._2.jpg".
I tried this but...it's not working :
Thank's
How can I create a javascript on my radioButton element for that :
change the source of an image when my choice is value 1 -> image.src="..._1.jpg", when it is 2 -> image.src="..._2.jpg".
I tried this but...it's not working :
Code:
var radioButton= document.getElementById('licence___ss_version').getValue();
var image= document.getElementById('licence___Image');
image.src=".../TC_formule_"+ radioButton +".JPG";