Binding click to a repeated div ID

后端 未结 7 2026
孤独总比滥情好
孤独总比滥情好 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条回答
  •  梦毁少年i
    2021-01-23 11:01

    All IDs must be unique. If you wish to repeat an ID, you should use a class instead.

提交回复
热议问题