How do I use querySelector to target a hash at the end of an anchor tag's href attribute?

前端 未结 0 1144
予麋鹿
予麋鹿 2021-02-14 05:22

I need to use querySelector to target and match hashes in my anchor tags to another function but the hash occurs at the end of the url. How do I go about this? I\'m

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