Posts by Thiago • 13 points
1 post
-
1
votes1
answer116
viewsQ: how to define a background-image in src of an img tag using jquery?
I’m creating a modal to display a gallery and the idea is that when clicked on the images, the modal looks in the background-image of each <img> and apply to src. The modal works, but the…