js click element where inside in a div

后端 未结 0 1531
無奈伤痛
無奈伤痛 2021-01-24 18:48

I have a Slider, and want to stop it. Now I make like this: If the classname === \'slider\' then stop.

But I work with e.target.classList. So if I click on Slider, then I

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