Binding click to a repeated div ID

后端 未结 7 2117
孤独总比滥情好
孤独总比滥情好 2021-01-23 10:33

I\'m trying to create a div popup gallery type thing. But I\'m having an issue with my approach.

I have a few linked thumbnail images, which link to the lar

7条回答
  •  情书的邮戳
    2021-01-23 11:18

    When we have to attach an event/style with multiple elements, we have to use classes. Id means a unique value for each element.

提交回复
热议问题