0

i have created three static review section with images for each review i used one modal popup for images with different id .but i want dynamic review section . for suppose if i add fourth review for that fourth review dynamically i want to generate modal popup.

.i have created three static review section with images for each review i used one modal popup for images with different id .but i want dynamic review section . for suppose if i add fourth review for that fourth review dynamically i want to generate modal popup.

  • So, create the elements dynamically for all the reviews. You can start [here](https://developer.mozilla.org/en-US/docs/Web/API/Document/createElement). – Teemu Mar 25 '22 at 12:12
  • Please provide enough code so others can better understand or reproduce the problem. – Community Mar 25 '22 at 12:48
  • Welcome to Stack Overflow. Please provide a Minimal, Reproducible Example: https://stackoverflow.com/help/minimal-reproducible-example – Twisty Mar 25 '22 at 23:07

0 Answers0