<a id="backgroundenamel_realbutton_powderblue"
href="javascript:set_radio('radio_bgenamel_powderblue');"
class="radio-picture-enamel" style="background-color: #97b4d2;"
onclick="document.getElementsByClassName('cx00ringbuilder_topinsidecolor_img')[0].style.backgroundColor='#97b4d2';"> </a>
I am looking for a solution to modify the color of multiple divs using the code snippet above. I understand that I need to convert [0] to an array in order to achieve this, but I'm not sure how to do it. Any assistance on this matter would be greatly appreciated.