I am trying to finalise a co-creation website that swaps image when certain radio buttons are selected. It works in Firefox.. can anyone tell me why it is not working in Safari?
The part that I feel does not connect is as below:
var sel = document.getElementById("mainimg");
var s = grps+"";
while (s.length < 5) s = "0" + s;
sel.src = "http://www.designpartners.co.uk/resources/iPhone-skins/skin-options/iPhone_Skins_Art_Case"+s+".png";