$('.box').on('click', function (e) {
  if(e.target == this) {
    console.log(e.target)
  }
})

 

相关文章:

  • 2021-06-08
  • 2021-11-29
  • 2022-12-23
  • 2022-12-23
  • 2021-09-14
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2021-11-15
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案