html - css - how to change image source by its id? -
does know how can control image source css?
i need able change image src css. have loop printing < img id=.. >
tags, , every id different image. want able set source id style css area.
does know how this?
that not possible css. however, easy javascript:
document.getelementbyid("idofimage").src = "sourceofimage";
Comments
Post a Comment