JS: Test elements existence and tag name as a one liner

后端 未结 0 961
时光说笑
时光说笑 2021-01-25 19:22

I am trying to find the correct a-tag within a DOM. For this I need to parse its direct neighbors:

let strongTags = document.querySelectorAll(\'div.entry p strong         


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