Get li element onclick with pure javascript without applying onClick to each element

前端 未结 3 1578
醉梦人生
醉梦人生 2021-02-05 03:14

First of all I do not want to use jQuery, just pure javascript; please don\'t link to duplicate jQuery posts.

If I have a list like

3条回答
提交回复
热议问题