How can I make IF loop dynamic without adding condition for every element in the array?

后端 未结 0 1876
情歌与酒
情歌与酒 2021-02-19 07:23

I have a link in HTML which passes index to JS. In JS I am getting the index and based on the index I am trying to add some styling and functionality. I am now using hardcoded i

相关标签:
回答
  • 消灭零回复
提交回复
热议问题