Re:GetElementById vs. QuerySelector
by rudasn on Friday November 26, 2021 @12:44AM
(#29347780)
Yeah, I surprised to even see those two terms on an article on HN (who uses getElementById or querySelectors nowadays right?) but I was even more surprised by the number of comments it gathered (which are of course unrelated to the original article)
[ Parent
| on HN ]
I use getElementById pretty often
What else would you use?
I use them all the time.